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!

SByte.Format (SByte, String)

Converts a numeric value to a formatted String. The SByte type is not CLS compliant. The CLS-compliant alternative is Byte.

[C#]
public static string Format(
   sbyte value,
   string format
);
[C++]
public: static String* Format(
   char value,
   String* format
);
[JScript]
public static function Format(
   value : SByte,
   format : String
) : String;

[Visual Basic] The SByte type cannot be used in Visual Basic.

Parameters [C#, C++, JScript]

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

Return Value [C#, C++, JScript]

Returns a string representation of value in the format specified by format.

Remarks [C#, C++, JScript]

If format is null or an empty string, value is formatted as if the general format ("G") string were specified. The numeric format information is obtained from the current locale (see CurrentCulture for more information on current locales).

See Also

SByte Structure | SByte Members | System Namespace | SByte.Format Overload List | CultureInfo | String