-api-id | -api-type |
---|---|
M:Windows.Devices.I2c.I2cDevice.Close |
winrt method |
Closes the connection to the inter-integrated circuit (I2 C) device.
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.