Converts the value of the current instance to a String with the specified format string. The UInt64 type is not CLS compliant. The CLS-compliant alternative is Int64.
[C#] public virtual string Format( string format, IServiceObjectProvider sop ); [C++] public: virtual String* Format( String* format, IServiceObjectProvider* sop ); [JScript] public function Format( format : String, sop : IServiceObjectProvider ) : String;
[Visual Basic] The UInt64 type cannot be used in Visual Basic.
A string representation for the value of the current instance in the format specified by format.
If format is null or an empty string, the number is formatted as if the general format ("G") string were specified.
The sop parameter specifies the format provider from which the NumberFormatInfo instance will be obtained. NumberFormatInfo supplies information, such as the characters to use for decimal and thousand separators, and the spelling and placement of currency symbols in monetary values.
If sop is null, the numeric format information is obtained from the current locale (see NumberFormatInfo and CultureInfo for more information on numeric and culture formats).
UInt64 Structure | UInt64 Members | System Namespace | UInt64.Format Overload List | String | ization[cref.Globalization | NumberStyles | IServiceObjectProvider