SqlCeUpdatableRecord.SetBytes 메서드

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

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

구문

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

instance.SetBytes(ordinal, dataIndex, buffer, bufferIndex, length)
public void SetBytes (
    int ordinal,
    long dataIndex,
    byte[] buffer,
    int bufferIndex,
    int length
)
public:
void SetBytes (
    int ordinal, 
    long long dataIndex, 
    array<unsigned char>^ buffer, 
    int bufferIndex, 
    int length
)
public void SetBytes (
    int ordinal, 
    long dataIndex, 
    byte[] buffer, 
    int bufferIndex, 
    int length
)
public function SetBytes (
    ordinal : int, 
    dataIndex : long, 
    buffer : byte[], 
    bufferIndex : int, 
    length : int
)

매개 변수

  • ordinal
    설정할 열의 위치입니다.
  • dataIndex
    데이터를 복사해 넣을 열 내의 위치입니다.
  • buffer
    복사할 데이터가 들어 있는 버퍼입니다.
  • bufferIndex
    데이터를 복사할 원본 버퍼 내의 오프셋입니다.
  • length
    복사할 최대 바이트 수입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 을(를) 참조하십시오.

플랫폼

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Compact Framework

2.0에서 지원

참고 항목

참조

SqlCeUpdatableRecord 클래스
SqlCeUpdatableRecord 멤버
System.Data.SqlServerCe 네임스페이스