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




value
The initial value given to this object.
Initializes a new instance of the Integer class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal value As Integer _
)
Visual Basic (Usage)Copy Code
Dim value As Integer
 
Dim instance As New Integer(value)
C# 
public Integer( 
   int value
)
Managed Extensions for C++ 
public: Integer( 
   int value
)
C++/CLI 
public:
Integer( 
   int value
)

Parameters

value
The initial value given to this object.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThe value is a null reference
System.FormatExceptionThe value does not consist of an option sign followed by a sequence of digits.
System.OverflowExceptionThe value is less than Int32.MinValue or greater than Int32.MaxValue

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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