共用方式為


OrientationSensorReading.Properties 屬性

定義

取得感應器所報告的資料屬性。

public:
 property IMapView<Platform::String ^, Platform::Object ^> ^ Properties { IMapView<Platform::String ^, Platform::Object ^> ^ get(); };
IMapView<winrt::hstring, IInspectable const&> Properties();
public IReadOnlyDictionary<string,object> Properties { get; }
var iMapView = orientationSensorReading.properties;
Public ReadOnly Property Properties As IReadOnlyDictionary(Of String, Object)

屬性值

IMapView<String,Object>

IReadOnlyDictionary<String,Object>

IMapView<Platform::String,Platform::Object>

IMapView<winrt::hstring,IInspectable>

包含感應器針對指定讀取所報告之每個資料屬性的索引鍵/值組。 索引鍵是屬性索引鍵的字串,而值是索引鍵所代表的屬性值。

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

適用於