Dart.Snmp Namespace > Variable Class > Variable Constructor : Variable Constructor(MibNode) |
Public Function New( _ ByVal definition As MibNode _ )
public Variable( MibNode definition )
public: Variable( MibNode* definition )
public: Variable( MibNode^ definition )
Exception | Description |
---|---|
System.ArgumentException | Thrown if definition does not have a valid ValueType property value. |
Used for requesting variables from agents, by populating the variables collection of GetMessage, GetNextMessage or GetBulkMessage. To request a table entry, use Variable Constructor(MibNode,String,String) or Variable Constructor(String).
Definition will be populated with definition. definition.Oid + ".0" is used to initialize Id.