Dart.Snmp Namespace > Variable Class > Variable Constructor : Variable Constructor(MibNode,String,String) |
Public Function New( _ ByVal definition As MibNode, _ ByVal value As String, _ ByVal indexer As String _ )
Exception | Description |
---|---|
System.ArgumentException | Thrown if definition does not have a valid ValueType property value. |
This constructor is intended for use with tables, but can be used for scalar MibNodes as well. Use a "0" indexer to identify a scalar value (definition.Usage is Usage.Object) or use a table row indexer to identify a table entry (definition.Usage is Usage.TableColumn).
value will be automatically converted into the relevant SimpleType as defined by definition.ValueType, populating Value. Definition will be populated with definition.