AppTaskInfo.Id プロパティ

定義

このタスクに対して自動的に生成される一意識別子を取得します。

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
winrt::hstring Id();
[Windows.Foundation.Metadata.Experimental]
public string Id { [Windows.Foundation.Metadata.Experimental] get; }
var string = appTaskInfo.id;
Public ReadOnly Property Id As String

プロパティ値

String

Platform::String

winrt::hstring

このタスクの一意識別子。

属性

注釈

Important

アプリ タスクのサポートは、2026 年 5 月から Windows 11 への段階的なロールアウトを開始します。 Windows.UI.Shell.Tasks API によって有効になるエクスペリエンスでは、対応するアプリ タスク機能が、アプリが実行されている Windows のバージョンに存在する必要があります。 それ以外の場合、これらの API は影響を受けなくなります。

適用対象