다음을 통해 공유


AppNotificationButton.TargetAppId 속성

정의

앱 알림 단추를 클릭할 때 시작할 앱의 PFN(패키지 패밀리 이름)을 가져오거나 설정합니다.

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

void TargetAppId(winrt::hstring value);
public string TargetAppId { get; set; }
var string = appNotificationButton.targetAppId;
appNotificationButton.targetAppId = string;
Public Property TargetAppId As String

속성 값

String

Platform::String

winrt::hstring

대상 앱의 PFN을 포함하는 문자열입니다.

설명

InvokeUri 또는 TargetAppId를 설정해야 하지만 둘 다 설정하지는 않습니다. 둘 다 설정하면 시스템에서 TargetAppId를 사용합니다.

AppNotificationBuilder API를 사용하여 앱 알림에 대한 UI를 만드는 방법에 대한 지침은 앱 알림 콘텐츠를 참조하세요.

앱 알림에 대한 XML 스키마에 대한 참조 정보는 앱 알림 콘텐츠 스키마를 참조하세요.

적용 대상