WidgetInfo.CustomState プロパティ

定義

ウィジェットの現在のアダプティブ カード JSON データ テンプレートを含む文字列を取得します。

public:
 property Platform::String ^ CustomState { Platform::String ^ get(); };
winrt::hstring CustomState();
public string CustomState { get; }
var string = widgetInfo.customState;
Public ReadOnly Property CustomState As String

プロパティ値

String

Platform::String

winrt::hstring

注釈

カスタム状態形式はアプリ定義であり、ウィジェット ホストによって検証されません。

を呼び出してウィジェットのカスタム状態を設定する WidgetManager.UpdateWidget(WidgetUpdateRequestOptions)

適用対象