Share via


PipelineBuffer.GetBlobLength(Int32) Method

Definition

Important

This API is not CLS-compliant.

Gets the number of bytes contained in a binary large object (BLOB) PipelineBuffer column.

public:
 System::UInt32 GetBlobLength(int columnIndex);
[System.CLSCompliant(false)]
public uint GetBlobLength (int columnIndex);
[<System.CLSCompliant(false)>]
member this.GetBlobLength : int -> uint32
Public Function GetBlobLength (columnIndex As Integer) As UInteger

Parameters

columnIndex
Int32

The index of the column containing the BLOB.

Returns

The number of bytes in the binary large object.

Attributes

Remarks

The GetBlobLength method is used to determine the number of bytes contained in a PipelineBuffer column containing a BLOB data type, such as a DT_IMAGE. This method is typically called prior to a call to the GetBlobData method. The third parameter to GetBlobData is the number of bytes to retrieve from the BLOB. You call GetBlobLength prior to GetBlobData when you want to retrieve all the bytes in a BLOB PipelineBuffer column.

Applies to