次の方法で共有


GetBytes メソッド

このメンバは将来使用するために予約されています。

名前空間:  Microsoft.AnalysisServices.AdomdServer
アセンブリ:  msmgdsrv (msmgdsrv.dll)

構文

'宣言
Public Function GetBytes ( _
    i As Integer, _
    fieldOffset As Long, _
    buffer As Byte(), _
    bufferoffset As Integer, _
    length As Integer _
) As Long
'使用
Dim instance As AdomdDataReader
Dim i As Integer
Dim fieldOffset As Long
Dim buffer As Byte()
Dim bufferoffset As Integer
Dim length As Integer
Dim returnValue As Long

returnValue = instance.GetBytes(i, fieldOffset, _
    buffer, bufferoffset, length)
public long GetBytes(
    int i,
    long fieldOffset,
    byte[] buffer,
    int bufferoffset,
    int length
)
public:
virtual long long GetBytes(
    int i, 
    long long fieldOffset, 
    array<unsigned char>^ buffer, 
    int bufferoffset, 
    int length
) sealed
abstract GetBytes : 
        i:int * 
        fieldOffset:int64 * 
        buffer:byte[] * 
        bufferoffset:int * 
        length:int -> int64 
override GetBytes : 
        i:int * 
        fieldOffset:int64 * 
        buffer:byte[] * 
        bufferoffset:int * 
        length:int -> int64 
public final function GetBytes(
    i : int, 
    fieldOffset : long, 
    buffer : byte[], 
    bufferoffset : int, 
    length : int
) : long

パラメーター

  • fieldOffset
    型: System. . :: . .Int64
    データの読み取りを開始する列内の 0 から始まるインデックスです。
  • buffer
    型: array<System. . :: . .Byte> [] () [] []
    バイト ストリームを読み取るバッファです。
  • bufferoffset
    型: System. . :: . .Int32
    データの書き込みを開始するバッファ内の 0 から始まるインデックスです。

戻り値

型: System. . :: . .Int64
列から実際に読み取るバイト数を表す Long です。

実装

IDataRecord. . :: . .GetBytes(Int32, Int64, array<Byte> [] () [] [], Int32, Int32)

例外

例外 条件
[NotSupportedException]

メソッドが呼び出されています。この例外の詳細については、「NotSupportedException Class」を参照してください。