共用方式為


IDTSBuffer100.GetBLOBLength(Int32, Int32, UInt32) Method

Definition

Gets the number of bytes contained in a column in an IDTSBuffer100.

public:
 void GetBLOBLength(int hRow, int hCol, [Runtime::InteropServices::Out] System::UInt32 % pdwBytes);
public void GetBLOBLength (int hRow, int hCol, out uint pdwBytes);
abstract member GetBLOBLength : int * int * uint32 -> unit
Public Sub GetBLOBLength (hRow As Integer, hCol As Integer, ByRef pdwBytes As UInteger)

Parameters

hRow
Int32

The handle of the row.

hCol
Int32

The handle of the column in the row.

pdwBytes
UInt32

An out parameter that contains the number of bytes in the row.

Remarks

The GetBLOBLength method is used to determine the number of bytes in a column that contains a binary large object (BLOB) data type, such as a DT_IMAGE. This method is typically called before a call to the GetBLOBData method. The third parameter to GetBLOBData is the number of bytes to retrieve from the BLOB. You call this method before calling GetBLOBData to retrieve all the bytes in a BLOB column.

Applies to