共用方式為


HumanPresenceSensor.DeviceId 屬性

定義

取得人類目前狀態感應器的唯一裝置識別碼。

public:
 property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = humanPresenceSensor.deviceId;
Public ReadOnly Property DeviceId As String

屬性值

String

Platform::String

winrt::hstring

人類目前狀態感應器的唯一裝置識別碼。

適用於