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.ToString (SByte)

Converts a specified SByte to a String. The SByte type is not CLS compliant. The CLS-compliant alternative is Byte.

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

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

Parameters [C#, C++, JScript]

value
The byte for which to provide a string representation.

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

A string value in base-10 without extra padding.

Remarks [C#, C++, JScript]

If value parameter is negative, the first character in the string returned will be '-'. No sign character is returned if the number is zero or positive.

The rest of the string returned is made up of characters representing the magnitude of value. No leading zero characters ('0') are prepended to the returned string.

The following characters are used as digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9.

The output from ToString should be consumable by FromString.

See Also

SByte Structure | SByte Members | System Namespace | SByte.ToString Overload List | String