GpioChangeCounter.Read Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the current count of polarity changes. Before counting has been started, this will return 0.
GpioChangeCount Read();
public GpioChangeCount Read();
function read()
Public Function Read () As GpioChangeCount
Returns
A GpioChangeCount structure containing a count and an associated timestamp.
Remarks
The following exception can be thrown by this method:
- HRESULT_FROM_WIN32(ERROR_INVALID_HANDLE) - the change counter or the associated pin has been disposed.