WordService.ToString(String, IFormatProvider) WordService.ToString(String, IFormatProvider) WordService.ToString(String, IFormatProvider) Method

Definition

Formats the value of the current instance using the specified format.

public:
 virtual System::String ^ ToString(System::String ^ format, IFormatProvider ^ formatProvider);
public string ToString (string format, IFormatProvider formatProvider);
Public Function ToString (format As String, formatProvider As IFormatProvider) As String
Parameters
format
String String String

A String that specifies the format to use. If a null reference (Nothing in Visual Basic), the default format defined for the type of the IFormattable implementation is used.

formatProvider
IFormatProvider IFormatProvider IFormatProvider

The IFormatProvider to use to format the value. If a null reference (Nothing in Visual Basic), the numeric format information from the current locale setting of the operating system is used.

Returns

Applies to