共用方式為


SpatialInteractionDetectedEventArgs.InteractionSource 屬性

定義

取得與偵測到的互動相關聯的特定來源。

public:
 property SpatialInteractionSource ^ InteractionSource { SpatialInteractionSource ^ get(); };
SpatialInteractionSource InteractionSource();
public SpatialInteractionSource InteractionSource { get; }
var spatialInteractionSource = spatialInteractionDetectedEventArgs.interactionSource;
Public ReadOnly Property InteractionSource As SpatialInteractionSource

屬性值

互動來源。

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

適用於