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!

Int32.ToString ()

Returns a String representation of this instance.

[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 Int32 to a string.

Remarks

The ToString method returns the base 10 representation of the number with no extra padding.

If this instance is negative, then the first character in the string returned will be a negative sign character ('-'). 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.

Leading zero characters ('0') are not 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

Int32 Structure | Int32 Members | System Namespace | Int32.ToString Overload List | String | Object