Delen via


AccelerometerReading.Properties Property

Definition

Gets the data properties reported by the sensor.

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 = accelerometerReading.properties;
Public ReadOnly Property Properties As IReadOnlyDictionary(Of String, Object)

Property Value

IMapView<String,Object>

IReadOnlyDictionary<String,Object>

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

IMapView<winrt::hstring,IInspectable>

Contains a key/value pair for each data property reported by the sensor for the given reading. The key is a string of the property key, and the value is the value of the property that the key represents.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to