次の方法で共有


UserActivityRequestManager.GetForCurrentView メソッド

定義

現在のビューに関連付けられている UserActivityRequestManager を取得します。

public:
 static UserActivityRequestManager ^ GetForCurrentView();
 static UserActivityRequestManager GetForCurrentView();
public static UserActivityRequestManager GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As UserActivityRequestManager

戻り値

現在のビューの UserActivityRequestManager

protected override void OnNavigatedTo(NavigationEventArgs e)
{
    Windows.ApplicationModel.UserActivities.UserActivityRequestManager requestMgr = Windows.ApplicationModel.UserActivities.UserActivityRequestManager.GetForCurrentView();
}

適用対象