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


InputPreTranslateKeyboardSource.GetForIsland(ContentIsland) Метод

Определение

Извлекает InputPreTranslateKeyboardSource объект для указанного ContentIsland.

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

Параметры

island
ContentIsland

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

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

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

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

Комментарии

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

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

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

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