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




definition
The MibNode instance providing a definition for the Variable.
value
The value to be encoded (as a SimpleType).
Initializes a new instance of the Variable class (typically for use with GetMessage, GetNextMessage or GetBulkMessage).

Syntax

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

Parameters

definition
The MibNode instance providing a definition for the Variable.
value
The value to be encoded (as a SimpleType).

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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