Point.IFormattable.ToString(String, IFormatProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(String, IFormatProvider).
virtual System::String ^ System.IFormattable.ToString(System::String ^ format, IFormatProvider ^ provider) = IFormattable::ToString;
string IFormattable.ToString (string format, IFormatProvider provider);
abstract member System.IFormattable.ToString : string * IFormatProvider -> string
override this.System.IFormattable.ToString : string * IFormatProvider -> string
Function ToString (format As String, provider As IFormatProvider) As String Implements IFormattable.ToString
Parameters
- format
- String
The string specifying the format to use.
-or-
null
to use the default format defined for the type of the IFormattable implementation.
- provider
- 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.
Returns
A string containing the value of the current instance in the specified format.