Color.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.Media
Assembly: System.Windows (in System.Windows.dll)
Syntax
Private Function ToString ( _
format As String, _
provider As IFormatProvider _
) As String Implements IFormattable.ToString
string IFormattable.ToString(
string format,
IFormatProvider provider
)
Parameters
- format
Type: System..::.String
The string specifying the format to use.
-or-
nullNothingnullptra null reference (Nothing in Visual Basic) 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-
nullNothingnullptra null reference (Nothing in Visual Basic) 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)
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone