Share via


I2cDevice.ConnectionSettings Property

Definition

Gets the connection settings used for communication with the inter-integrated circuit (I2 C) device.

public:
 property I2cConnectionSettings ^ ConnectionSettings { I2cConnectionSettings ^ get(); };
I2cConnectionSettings ConnectionSettings();
public I2cConnectionSettings ConnectionSettings { get; }
var i2cConnectionSettings = i2cDevice.connectionSettings;
Public ReadOnly Property ConnectionSettings As I2cConnectionSettings

Property Value

The connection settings used for communication with the inter-integrated circuit (I2 C) device.

Windows requirements

App capabilities
lowLevel

Remarks

If you try to change the values of the I2cConnectionSettings object that you get through this property, those changes will have no effect. You cannot change the connection settings after you create the I2cDevice object. To specify the connection settings, use the I2cConnectionSettings(Int32) constructor to create an I2cConnectionSettings object, and set the property values for that I2cConnectionSettings object before you pass it to the FromIdAsync method to create the I2cDevice object.

Applies to

See also