Share via


CoreApplication.GetCurrentView Méthode

Définition

Obtient la vue correspondant au thread actif.

public:
 static CoreApplicationView ^ GetCurrentView();
 static CoreApplicationView GetCurrentView();
public static CoreApplicationView GetCurrentView();
function getCurrentView()
Public Shared Function GetCurrentView () As CoreApplicationView

Retours

Vue correspondant au thread actuel. Si aucune vue de ce type n’existe, la méthode échoue.

Remarques

Un CoreApplicationView est une fenêtre d’application et son thread.

Windows Phone 8

Cette API est prise en charge uniquement dans les applications natives.

S’applique à