Freigeben über


InputFocusController.GetForIsland(ContentIsland) Methode

Definition

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

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

Parameter

island
ContentIsland

Das ContentIsland , das die Eingabe verarbeitet.

Gibt zurück

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

Wenn island ungültig ist oder sich im Besitz eines anderen Threads als der aufrufende Thread befindet (RPC_E_WRONG_THREAD ausgelöst wird), 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 InputFocusController sein, die einer bestimmten Inhaltsinsel zugeordnet ist.

Gilt für: