다음을 통해 공유


WidgetUpdateRequestOptions.CustomState 속성

정의

연결된 위젯의 사용자 지정 상태를 나타내는 문자열을 가져오거나 설정합니다.

public:
 property Platform::String ^ CustomState { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring CustomState();

void CustomState(winrt::hstring value);
public string CustomState { get; set; }
var string = widgetUpdateRequestOptions.customState;
widgetUpdateRequestOptions.customState = string;
Public Property CustomState As String

속성 값

String

Platform::String

winrt::hstring

연결된 위젯의 사용자 지정 상태를 나타내는 문자열입니다.

설명

사용자 지정 상태 문자열은 앱에서 정의되며 위젯 호스트에서 유효성을 검사하지 않습니다.

사용자 지정 상태 속성을 유지하는 위젯을 만드는 연습은 win32 앱에서 위젯 공급자 구현을 참조하세요.

적용 대상