共用方式為


ProximitySensorDataThreshold(ProximitySensor) 建構函式

定義

public:
 ProximitySensorDataThreshold(ProximitySensor ^ sensor);
 ProximitySensorDataThreshold(ProximitySensor const& sensor);
public ProximitySensorDataThreshold(ProximitySensor sensor);
function ProximitySensorDataThreshold(sensor)
Public Sub New (sensor As ProximitySensor)

參數

sensor
ProximitySensor

鄰近感應器。

備註

ProximitySensorDataThreshold的臨界值是在ProximitySensorReading值變更時。

適用於