共用方式為


SimpleOrientationSensorOrientationChangedEventArgs 類別

定義

提供感應器讀取變更事件的資料。

public ref class SimpleOrientationSensorOrientationChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SimpleOrientationSensorOrientationChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SimpleOrientationSensorOrientationChangedEventArgs
Public NotInheritable Class SimpleOrientationSensorOrientationChangedEventArgs
繼承
Object Platform::Object IInspectable SimpleOrientationSensorOrientationChangedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

當您的應用程式支援 OrientationChanged 事件時,就會存取此物件。

屬性

Orientation

取得目前的感應器方向。

Timestamp

取得目前感應器讀取的時間。

適用於