PowerSNMP for .NET
FormatValue Method




Returns the value of the variable in a human-readable format according to the display-hint in the variable's MibNode definition.
Syntax
Public Function FormatValue() As String
Dim instance As Variable
Dim value As String
 
value = instance.FormatValue()
public string FormatValue()
public: string* FormatValue(); 
public:
String^ FormatValue(); 
Remarks

This method formats Value according to Variable.Definition.DisplayHint. If the display-hint is unavailable or the underlying Value type does not support display-hint this method will return Variable.Value.ToString().

When a message is received, Definition will be automatically populated if Agent.Mib or Manager.Mib contains a definition for the OID.

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