InputPointerSource.GetForIsland(ContentIsland) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索 InputPointerSource 指定 ContentIsland 的 对象。
public:
static InputPointerSource ^ GetForIsland(ContentIsland ^ island);
static InputPointerSource GetForIsland(ContentIsland const& island);
public static InputPointerSource GetForIsland(ContentIsland island);
function getForIsland(island)
Public Shared Function GetForIsland (island As ContentIsland) As InputPointerSource
参数
- island
- ContentIsland
正在处理输入的 ContentIsland 。
返回
指定 InputPointerSourceContentIsland 的对象,或者新的 InputPointerSource(如果不存在)。
如果 island 无效,或由与调用线程不同的线程拥有,则 GetForIsland 将返回 null。
注解
GetForIsland 仅支持与调用方位于同一线程上的内容岛。
多次调用 GetForIsland 将每次返回同一对象。
在所有情况下,只能有一 InputPointerSource 个与特定内容岛关联的内容岛。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈