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!

Byte.Format (String, IServiceObjectProvider)

Converts the value of this instance to a String that uses a specified string and has the format provided by TBD.

[Visual Basic]
Overloads Overridable Public Function Format( _
   ByVal format As String, _
   ByVal sp As IServiceObjectProvider _
) As String
[C#]
public virtual string Format(
   string format,
   IServiceObjectProvider sp
);
[C++]
public: virtual String* Format(
   String* format,
   IServiceObjectProvider* sp
);
[JScript]
public function Format(
   format : String,
   sp : IServiceObjectProvider
) : String;

Parameters

format
The format string.
sp
The TBD used to format the number.

Return Value

A String representation for the value of this instance in the format specified by format.

Remarks

NumberFormatInfo supplies information for the characters of monetary values to use for decimal and thousand separators, and for the spelling and placement of currency symbols. (For additional information on currency symbols and current cultures, see CultureInfo.)

If format is null or an empty string, the number is formatted as if the string general format ("G") were specified.

The sp parameter specifies the format provider from which the NumberFormatInfo instance will be obtained. If sp is null, the numeric format information is obtained from the current locale.

See Also

Byte Structure | Byte Members | System Namespace | Byte.Format Overload List