Partager via


UserActivityRequestManager.GetForCurrentView Méthode

Définition

Obtient le UserActivityRequestManager associé à l’affichage actuel.

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

Retours

UserActivityRequestManager pour l’affichage actuel.

Exemples

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

S’applique à