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




value
The initial value given to this object in string form. This value is converted to a UInt32 value and assigned to the object.
Initializes a new instance of the Gauge class.

Syntax

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

Parameters

value
The initial value given to this object in string form. This value is converted to a UInt32 value and assigned to the object.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionvalue is a null reference.
System.FormatExceptionvalue does not consist of an optional sign followed by a sequence of digits.
System.OverflowExceptionvalue is less than UInt32.MinValue or greater than UInt32.MaxValue.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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