Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Point.IFormattable.ToString Method (String, IFormatProvider)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. For a description of this member, see ToString.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft