Freigeben über


InputActivationListener.GetForIsland(ContentIsland) Methode

Definition

Ruft ein InputActivationListener Objekt für das angegebene ContentIsland ab.

public:
 static InputActivationListener ^ GetForIsland(ContentIsland ^ island);
 static InputActivationListener GetForIsland(ContentIsland const& island);
public static InputActivationListener GetForIsland(ContentIsland island);
function getForIsland(island)
Public Shared Function GetForIsland (island As ContentIsland) As InputActivationListener

Parameter

island
ContentIsland

Das ContentIsland , das die Eingabe verarbeitet.

Gibt zurück

Das InputActivationListener Objekt für den angegebenen ContentIsland oder einen neuen InputActivationListener, falls keins vorhanden ist.

Wenn island ungültig ist oder sich im Besitz eines anderen Threads als der aufrufende Thread befindet, gibt GetForIsland NULL zurück.

Hinweise

GetForIsland unterstützt nur Inhaltsinseln im selben Thread wie der Aufrufer.

Wenn GetForIsland mehrmals aufgerufen wird, wird jedes Mal dasselbe Objekt zurückgegeben.

In allen Fällen kann es nur eine einzelne InputActivationListener sein, die einer bestimmten Inhaltsinsel zugeordnet ist.

Gilt für:

Weitere Informationen

  • <xref:%601>