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




address
The initial value given to this object in string form. This value it to be in the form of n.n.n.n when n is a value between 0 and 255.
Initializes a new instance of the IpAddress class.

Syntax

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

Parameters

address
The initial value given to this object in string form. This value it to be in the form of n.n.n.n when n is a value between 0 and 255.

Exceptions

ExceptionDescription
System.ArgumentExceptionvalue is not in the form of n.n.n.n where n is a value between 0 and 255.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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