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!

Int16.ToString ()

Converts this instance of Int16 to a String.

[Visual Basic]
Overloads Overrides Public Function ToString() As String
[C#]
public override string ToString();
[C++]
public: override String* ToString();
[JScript]
public override function ToString() : String;

Return Value

The result of converting this Int16 to a string.

Remarks

The ToString method converts the value represented by the current Int16 instance to a String in base 10 with no extra padding.

If this instance is negative, the first charter in the string returned will be '-'. No sign character is returned if the number is non-negative. 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

Int16 Structure | Int16 Members | System Namespace | Int16.ToString Overload List | String | Format | Convert