Share via


I2CDevice.I2CTransaction Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the I2CDevice..::..I2CTransaction class.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Protected Sub New ( _
    buffer As Byte() _
)
protected I2CTransaction(
    byte[] buffer
)
protected:
I2CTransaction(
    array<unsigned char>^ buffer
)
new : 
        buffer:byte[] -> I2CTransaction
protected function I2CDevice..::..I2CTransaction(
    buffer : byte[]
)

Parameters

  • buffer
    Type: array<System. . :: . .Byte> [] () [] []
    The buffer containing the transaction data to write or the space to store the data after it is read.

.NET Framework Security

See Also

Reference

I2CDevice. . :: . .I2CTransaction Class

Microsoft.SPOT.Hardware Namespace