Compartilhar via


Color.ToHex Method

Definition

Overloads

ToHex()
ToHex(Boolean)
Obsolete.

ToHex()

Source:
Color.cs
Source:
Color.cs
public:
 System::String ^ ToHex();
public string ToHex ();
member this.ToHex : unit -> string
Public Function ToHex () As String

Returns

Applies to

ToHex(Boolean)

Source:
Color.cs
Source:
Color.cs

Caution

Use ToArgbHex instead.

public:
 System::String ^ ToHex(bool includeAlpha);
[System.Obsolete("Use ToArgbHex instead.")]
public string ToHex (bool includeAlpha);
[<System.Obsolete("Use ToArgbHex instead.")>]
member this.ToHex : bool -> string
Public Function ToHex (includeAlpha As Boolean) As String

Parameters

includeAlpha
Boolean

Returns

Attributes

Applies to