Share via


PipelineBuffer.SetBytes(Int32, Byte[]) Method

Definition

Important

This API is not CLS-compliant.

Assigns an array of bytes to a buffer column.

public:
 void SetBytes(int columnIndex, cli::array <System::Byte> ^ bytesValue);
[System.CLSCompliant(false)]
public void SetBytes (int columnIndex, byte[] bytesValue);
[<System.CLSCompliant(false)>]
member this.SetBytes : int * byte[] -> unit
Public Sub SetBytes (columnIndex As Integer, bytesValue As Byte())

Parameters

columnIndex
Int32

The index of the buffer column.

bytesValue
Byte[]

The array of bytes to assign to the column.

Attributes

Remarks

Assigns an array of bytes to a column in the buffer row. This method replaces any existing data in the column with the array provided by the bytesValue parameter.

This method works with the DT_BYTES data type in Integration Services.

For a complete list of Integration Services data types and the corresponding Get and Set methods of the PipelineBuffer class to use with each type, see Working with Data Types in the Data Flow.

Applies to