Поделиться через


InputActivationListener.GetForIsland(ContentIsland) Метод

Определение

Извлекает InputActivationListener объект для указанного 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

Параметры

island
ContentIsland

ContentIsland, обрабатывающий входные данные.

Возвращаемое значение

Объект InputActivationListener для указанного ContentIsland или новый объект InputActivationListener, если он не существует.

Если остров является недопустимым или принадлежит потоку, отличному от вызывающего потока, GetForIsland возвращает значение NULL.

Комментарии

GetForIsland поддерживает только острова содержимого в том же потоке, что и вызывающий объект.

Вызов GetForIsland несколько раз будет возвращать один и тот же объект каждый раз.

Во всех случаях может быть только один InputActivationListener связанный с определенным островом содержимого.

Применяется к

См. также раздел

  • <xref:%601>