Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 748 Bytes

i2cdevice_close_811482585.md

File metadata and controls

21 lines (15 loc) · 748 Bytes
-api-id -api-type
M:Windows.Devices.I2c.I2cDevice.Close
winrt method

Windows.Devices.I2c.I2cDevice.Close

-description

Closes the connection to the inter-integrated circuit (I2 C) device.

-remarks

You cannot call Close methods through Visual C++ component extensions (C++/CX) on Windows Runtime class instances where the class implemented IClosable. Instead, Visual C++ component extensions (C++/CX) code for runtime classes should call the destructor or set the last reference to null.

-examples

-see-also

I2cDevice.FromIdAsync