Share via


Accelerometer.State 属性

命名空间:  Microsoft.Devices.Sensors
程序集:  Microsoft.Devices.Sensors(在 Microsoft.Devices.Sensors.dll 中)

语法

声明
Public Property State As SensorState
public SensorState State { get; private set; }
public:
property SensorState State {
    SensorState get ();
    private: void set (SensorState value);
}
member State : SensorState with get, private set

属性值

类型:Microsoft.Devices.Sensors.SensorState

版本信息

适用于 Windows Phone 应用的 .NET

受以下版本支持:Windows Phone 8、Silverlight 8.1

.NET Framework 安全性

请参阅

参考

Accelerometer 类

Microsoft.Devices.Sensors 命名空间