Point.IFormattable.ToString Method (String, IFormatProvider)

 

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)

private abstract ToString : 
        format:string *
        provider:IFormatProvider -> string
private override ToString : 
        format:string *
        provider:IFormatProvider -> string

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: