次の方法で共有


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)

指定されたイメージ ストリームからアイコンを作成します。

適用対象