SensorBase<(Of <(TSensorReading>)>).Dispose Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Releases the managed and unmanaged resources used by the sensor.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)

Syntax

Public Sub Dispose
public void Dispose()

Implements

IDisposable..::.Dispose()()()

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

SensorBase<(Of <(TSensorReading>)>) Class

Microsoft.Devices.Sensors Namespace