Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IFormattable.ToString Method

Rect.IFormattable.ToString Method

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

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)

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft