PowerSNMP for .NET CF
Id Constructor
See Also  Send comments on this topic.
Dart.Snmp.SimpleType Namespace > Id Class : Id Constructor




id
The initial value given to this object in string form.
Initializes a new instance of the Id class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal id As String _
)
Visual Basic (Usage)Copy Code
Dim id As String
 
Dim instance As New Id(id)
C# 
public Id( 
   string id
)
Managed Extensions for C++ 
public: Id( 
   string* id
)
C++/CLI 
public:
Id( 
   String^ id
)

Parameters

id
The initial value given to this object in string form.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionid is a null reference.
System.FormatExceptionid contains a dotted value that is not an optional sign followed by a sequence of digits.
System.OverflowExceptionid contains a dotted value that is less than UInt32.MinValue or greater than UInt32MaxValue

Remarks

The string value assigned to an Id object must be in the form n.n.n….n where n is an unsigned 32-bit integer.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.