PowerSNMP for .NET
Variable Constructor(String,SimpleTaggedType)




The Instance ID (IID) assigned to Id. '0.0' is the minimum value that may be encoded.
Used to initialize Value.
Creates a Variable with a value.
Syntax
Public Function New( _
   ByVal id As String, _
   ByVal value As SimpleTaggedType _
)
Dim id As String
Dim value As SimpleTaggedType
 
Dim instance As New Variable(id, value)
public Variable( 
   string id,
   SimpleTaggedType value
)
public: Variable( 
   string* id,
   SimpleTaggedType* value
)
public:
Variable( 
   String^ id,
   SimpleTaggedType^ value
)

Parameters

id
The Instance ID (IID) assigned to Id. '0.0' is the minimum value that may be encoded.
value
Used to initialize Value.
Remarks

Used to populate the variables collection of SetMessage, InformMessage, Trap1Message or Trap2Message, and for populating Agent.Variables

Variable aggregates an id and a value. Id is an instance ID (IID) (e.g. "1.3.6.1.2.2.2.0").

See Also

Reference

Variable Class
Variable Members
Overload List


PowerSNMP for .NET Documentation Version 5.0
© 2021 Dart Communications. All Rights Reserved.
Send comments on this topic