InputActivationListener.GetForIsland(ContentIsland) Method

Definition

Retrieves an InputActivationListener object for the specified ContentIsland.

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

Parameters

island
ContentIsland

The ContentIsland that is handling input.

Returns

The InputActivationListener object for the specified ContentIsland, or a new InputActivationListener if one doesn't exist.

If island is invalid, or is owned by a different thread than the calling thread, GetForIsland returns null.

Remarks

GetForIsland only supports content islands on the same thread as the caller.

Calling GetForIsland multiple times will return the same object each time.

In all cases there can only be a single InputActivationListener associated with a particular content island.

Applies to

See also

  • <xref:%601>