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

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic