FontStyle.IFormattable.ToString Method (String, IFormatProvider)

 

For a description of this member, see IFormattable.ToString.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

string IFormattable.ToString(
	string format,
	IFormatProvider provider
)

Parameters

format
Type: System.String

The String specifying the format to use.

-or-

null to use the default format defined for the type of the IFormattable implementation.

provider
Type: System.IFormatProvider

The IFormatProvider to use to format the value.

-or-

null to obtain the numeric format information from the current locale setting of the operating system.

Return Value

Type: System.String

A String containing the value of the current instance in the specified format.

.NET Framework
Available since 3.0
Return to top
Show: