PowerSNMP for .NET
ToString(String) Method




A pattern indicating how the value should be displayed.
Returns a string formatted using the supplied display-hint.
Syntax
Public Overloads Function ToString( _
   ByVal displayHint As String _
) As String
Dim instance As Integer
Dim displayHint As String
Dim value As String
 
value = instance.ToString(displayHint)
public string ToString( 
   string displayHint
)
public: string* ToString( 
   string* displayHint
) 
public:
String^ ToString( 
   String^ displayHint
) 

Parameters

displayHint
A pattern indicating how the value should be displayed.

Return Value

A formatted string representation of the value.
Remarks

The display-hint can be "d" (decimal), "x" (hex), "o" (octal), or "b" (binary). If decimal, can include a dash-n, where n is the number of decimal places. For example, a value of 12345 with a displayHint of "d-2" would return "123.45".

See Also

Reference

Integer Class
Integer Members
Overload List


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