Color.ToString method

Applies to Windows and Windows Phone

Creates a String representation of this Color, using a specified formatter.

Syntax


Public Function ToString(
  provider As IFormatProvider 
) As String

Parameters

provider

Type: IFormatProvider

Culture-specific formatting information.

Return value

Type: System.String

A string representation of the current Color that is determined by the specified format provider.

Remarks

You generally don't use this signature of the ToString method, it's there mainly for infrastructure support. Use the parameterless ToString method instead.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI

Assembly

System.Runtime.WindowsRuntime.dll

See also

Color
ToString
Colors
Object.ToString (.NET)

 

 

Show:
© 2014 Microsoft