Dela via


UserActivityRequestManager.GetForCurrentView Method

Definition

Gets the UserActivityRequestManager associated with the current view.

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

Returns

The UserActivityRequestManager for the current view.

Examples

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

Applies to