共用方式為


Color.ToHex 方法

定義

多載

ToHex()
ToHex(Boolean)
已過時。.

ToHex()

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

傳回

適用於

ToHex(Boolean)

警告

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

參數

includeAlpha
Boolean

傳回

屬性

適用於