Partage via


ProjectionManager.SwapDisplaysForViewsAsync(Int32, Int32) Méthode

Définition

Permute de manière asynchrone la fenêtre d’appel (vue application) avec la fenêtre affichée sur le projecteur ou un autre écran secondaire. Le résultat est que la fenêtre d’appel s’affiche sur le projecteur et que la fenêtre précédemment projetée s’affiche sur l’écran de l’appareil.

public:
 static IAsyncAction ^ SwapDisplaysForViewsAsync(int projectionViewId, int anchorViewId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction SwapDisplaysForViewsAsync(int const& projectionViewId, int const& anchorViewId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction SwapDisplaysForViewsAsync(int projectionViewId, int anchorViewId);
function swapDisplaysForViewsAsync(projectionViewId, anchorViewId)
Public Shared Function SwapDisplaysForViewsAsync (projectionViewId As Integer, anchorViewId As Integer) As IAsyncAction

Paramètres

projectionViewId
Int32

int

ID de la fenêtre actuellement affichée par le projecteur.

anchorViewId
Int32

int

ID de la fenêtre à échanger avec la fenêtre projetée.

Retours

Résultats asynchrones de l’opération. Utilisez cette option pour déterminer quand l’appel asynchrone est terminé.

Attributs

S’applique à