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!

UInt64.ToString ()

Converts the current instance of UInt64 to a String. The UInt64 type is not CLS compliant. The CLS-compliant alternative is Int64.

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

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

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

The result of converting the current UInt64 to a string.

Remarks [C#, C++, JScript]

The ToString method uses the base-10 representation of this UInt64 and adds no extra padding.

If this instance is negative, the first character in the string returned will be "-". No sign character is returned if the number is not negative. The rest of the string returned is made up of characters representing the magnitude of this instance, not to include leading zero characters ("0").

The following characters are allowable digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.

The output from ToString should be consumable by FromString.

See Also

UInt64 Structure | UInt64 Members | System Namespace | UInt64.ToString Overload List | String | Format | NumberFormatInfo