Color.ToHex 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性