Share via


SqlCeUpdatableRecord.GetBytes 메서드

지정된 필드의 지정된 위치에서 시작하여 바이트 단위의 길이를 버퍼에 복사합니다.

네임스페이스:  System.Data.SqlServerCe
어셈블리:  System.Data.SqlServerCe(System.Data.SqlServerCe.dll)

구문

‘선언
Public Function GetBytes ( _
    ordinal As Integer, _
    dataIndex As Long, _
    buffer As Byte(), _
    bufferIndex As Integer, _
    length As Integer _
) As Long
‘사용 방법
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim dataIndex As Long
Dim buffer As Byte()
Dim bufferIndex As Integer
Dim length As Integer
Dim returnValue As Long

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

매개 변수

  • ordinal
    유형: System.Int32
    데이터를 검색할 열의 서수 위치입니다.
  • dataIndex
    유형: System.Int64
    데이터 복사를 시작할 원본 필드 내의 오프셋(바이트 단위)입니다.
  • buffer
    유형: array<System.Byte[]
    데이터를 복사해 넣을 버퍼입니다.
  • bufferIndex
    유형: System.Int32
    복사를 시작할 원본 버퍼 내의 오프셋입니다.
  • length
    유형: System.Int32
    복사할 최대 바이트 수입니다.

반환 값

유형: System.Int64

구현

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

참고 항목

참조

SqlCeUpdatableRecord 클래스

System.Data.SqlServerCe 네임스페이스