IDTSBuffer100.GetBLOBData(Int32, Int32, UInt32, Byte, UInt32, UInt32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
void GetBLOBData(int hRow, int hCol, System::UInt32 dwOffset, System::Byte % lpPointer, System::UInt32 dwLength, [Runtime::InteropServices::Out] System::UInt32 % lpdwWritten);
public void GetBLOBData (int hRow, int hCol, uint dwOffset, ref byte lpPointer, uint dwLength, out uint lpdwWritten);
abstract member GetBLOBData : int * int * uint32 * byte * uint32 * uint32 -> unit
Public Sub GetBLOBData (hRow As Integer, hCol As Integer, dwOffset As UInteger, ByRef lpPointer As Byte, dwLength As UInteger, ByRef lpdwWritten As UInteger)
參數
- hRow
- Int32
- hCol
- Int32
- dwOffset
- UInt32
- lpPointer
- Byte
- dwLength
- UInt32
- lpdwWritten
- UInt32
備註
從包含 BLOB 的資料行(例如 DT_IMAGE)取得資料時,請使用參數指定 BLOB 中的起始位置 dwOffset ,以及要在參數中取出的位元組數目 dwLength 。 建議您從區段中的 BLOB 資料行中取出資料,以避免在 BLOB 中的資料大小大於電腦上的可用記憶體時可能發生的情況。
這個方法是用來從 hCol idtsbuffer100.setsequentialmode中參數所指定的資料行取得位元組區段。 此方法通常會在依序讀取 BLOB 區段時用來遞迴。