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!

UInt32.ToString (UInt32)

Converts a specified UInt32 to a String. The UInt32 type is not CLS compliant. The CLS-compliant alternative is Int32.

[C#]
public static string ToString(
   uint i
);
[C++]
public: static String* ToString(
   unsigned int i
);
[JScript]
public static function ToString(
   i : UInt32
) : String;

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

Parameters [C#, C++, JScript]

i
A UInt32 value.

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

The result of converting the argument to a string.

Remarks [C#, C++, JScript]

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

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

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