共用方式為


HumanPresenceSensorReadingUpdate.Presence 屬性

定義

取得或設定是否偵測到主要使用者。

public:
 property IReference<HumanPresence> ^ Presence { IReference<HumanPresence> ^ get(); void set(IReference<HumanPresence> ^ value); };
IReference<HumanPresence> Presence();

void Presence(IReference<HumanPresence> value);
public System.Nullable<HumanPresence> Presence { get; set; }
var iReference = humanPresenceSensorReadingUpdate.presence;
humanPresenceSensorReadingUpdate.presence = iReference;
Public Property Presence As Nullable(Of HumanPresence)

屬性值

HumanPresenceSensor 所報告的偵測狀態。

適用於