共用方式為


WindowTabIcon 類別

定義

代表系統針對視窗索引標籤所顯示的圖示。

public ref class WindowTabIcon sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Shell.WindowTabManagerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WindowTabIcon final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Shell.WindowTabManagerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WindowTabIcon
Public NotInheritable Class WindowTabIcon
繼承
Object Platform::Object IInspectable WindowTabIcon
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.23504.0 引進)
API contract
Windows.UI.Shell.WindowTabManagerContract (已於 v1.0 引進)

備註

重要

此 API 僅適用于 Win32 傳統型應用程式。 不支援 UWP 和其他應用程式類型。

方法

CreateFromFontGlyph(String, String)

從提供的字元和字型系列建立圖示。

CreateFromFontGlyph(String, String, Uri)

從提供的字元、字型系列和字型 URI 建立圖示。

CreateFromImage(IRandomAccessStreamReference)

從提供的影像資料流程建立圖示。

適用於