NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Byte.Format (Byte, String)

Converts a numeric value to a String with a default format.

[Visual Basic]
Overloads Public Shared Function Format( _
   ByVal value As Byte, _
   ByVal format As String _
) As String
[C#]
public static string Format(
   byte value,
   string format
);
[C++]
public: static String* Format(
   unsigned char value,
   String* format
);
[JScript]
public static function Format(
   value : Byte,
   format : String
) : String;

Parameters

value
The number to be formatted.
format
The format string.

Return Value

A String representation of the number in the format specified format.

Remarks

If format is null or an empty string, then the number is formatted as if the string general format ("G") were specified. The numeric format information is obtained from the current locale. (For addition information on current cultures, see CultureInfo.

See Also

Byte Structure | Byte Members | System Namespace | Byte.Format Overload List