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.Format (UInt64, String)

Converts a numeric value to a String with the specified format string. The UInt64 type is not CLS compliant. The CLS-compliant alternative is Int64.

[C#]
public static string Format(
   ulong value,
   string format
);
[C++]
public: static String* Format(
   unsigned __int64 value,
   String* format
);
[JScript]
public static function Format(
   value : UInt64,
   format : String
) : String;

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

Parameters [C#, C++, JScript]

value
The value to be formatted.
format
The format string.

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

A string representation of value in the format specified by format.

Remarks [C#, C++, JScript]

The Format method converts a numeric value to a string with the format string specified by format. If format is null or an empty string, value is formatted as if the general format ("G") string were specified.

The numeric format information is obtained from the current locale (see NumberFormatInfo and CultureInfo) for more information for numeric and culture formats).

See Also

UInt64 Structure | UInt64 Members | System Namespace | UInt64.Format Overload List | String | ization[cref.Globalization | NumberStyles