PowerSNMP for .NET
ValueName Property




Gets or sets the human readable identifier that represents the enumeration value of the variable.
Syntax
Public Property ValueName As String
Dim instance As Variable
Dim value As String
 
instance.ValueName = value
 
value = instance.ValueName
public string ValueName {get; set;}
public: __property string* get_ValueName();
public: __property void set_ValueName( 
   string* value
);
public:
property String^ ValueName {
   String^ get();
   void set (    String^ value);
}

Property Value

A string that contains the enumeration name of the Value
Remarks

ValueName returns an empty string if the Variable does not represent an enumerated value or if the loaded MIB files do not contain a definition for the Variable OID value. If Value is not a valid enumeration value as defined in the MIB, an empty string will be returned.

An exception is raised if ValueName is set to a value not found in the mib definition.

See Also

Reference

Variable Class
Variable Members


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