PipelineBuffer.GetBlobLength(Int32) 方法

定义

重要

此 API 不符合 CLS。

获取二进制大对象(BLOB) PipelineBuffer 列中包含的字节数。

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

参数

columnIndex
Int32

包含BLOB的列的索引。

返回

二进制大对象中的字节数。

属性

注解

GetBlobLength 方法用于确定包含 BLOB 数据类型的列中包含的字节 PipelineBuffer 数,例如 DT_IMAGE。 该方法通常在调用 GetBlobData 该方法之前调用。 第三 GetBlobData 个参数是从BLOB中检索的字节数。 你在想要检索BLOBPipelineBuffer列中所有字节之前调用。GetBlobLengthGetBlobData

适用于