共用方式為


CompassReadingChangedEventArgs 類別

定義

提供指南針讀取變更事件的資料。

public ref class CompassReadingChangedEventArgs 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 CompassReadingChangedEventArgs 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 CompassReadingChangedEventArgs
Public NotInheritable Class CompassReadingChangedEventArgs
繼承
Object Platform::Object IInspectable CompassReadingChangedEventArgs
屬性

Windows 需求

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

備註

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

屬性

Reading

取得目前的指南針讀數。

適用於

另請參閱