IFormattable.ToString Method
Collapse the table of content
Expand the table of content

Point.IFormattable.ToString Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

For a description of this member, see ToString.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.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.

Implements

IFormattable.ToString(String, IFormatProvider)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft