PenDevice.GetFromPointerId(UInt32) 方法

定义

获取与指定指针关联的 PenDevice 对象(如果可用)。

public:
 static PenDevice ^ GetFromPointerId(unsigned int pointerId);
 static PenDevice GetFromPointerId(uint32_t const& pointerId);
public static PenDevice GetFromPointerId(uint pointerId);
function getFromPointerId(pointerId)
Public Shared Function GetFromPointerId (pointerId As UInteger) As PenDevice

参数

pointerId
UInt32

unsigned int

uint32_t

与指针事件关联的唯一指针标识符。

返回

PenDevice 对象。

如果指针输入不对应于笔输入,或者如果笔不支持唯一 ID,则返回 null。

适用于