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 ()

Converts this instance of SByte to a String. The SByte type is not CLS compliant. The CLS-compliant alternative is Byte.

[C#]
public override string ToString();
[C++]
public: override String* ToString();
[JScript]
public override function ToString() : String;

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

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

Returns the result of converting this SByte to a string in base 10 without extra padding.

Remarks [C#, C++, JScript]

If the byte value for this instance 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 this instance. 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.

Overrides ToString.

See Also

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