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!

Int64.Format (Int64, String)

Converts a numeric value to a String with the specified format string.

[Visual Basic]
Overloads Public Shared Function Format( _
   ByVal value As Long, _
   ByVal format As String _
) As String
[C#]
public static string Format(
   long value,
   string format
);
[C++]
public: static String* Format(
   __int64 value,
   String* format
);
[JScript]
public static function Format(
   value : long,
   format : String
) : String;

Parameters

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

Return Value

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

Remarks

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 on numeric and culture formats).

See Also

Int64 Structure | Int64 Members | System Namespace | Int64.Format Overload List | String