OleDbDataReader.GetByte(Int32) 메서드

정의

지정된 열의 값을 바이트로 가져옵니다.

public:
 virtual System::Byte GetByte(int ordinal);
public:
 override System::Byte GetByte(int ordinal);
public byte GetByte(int ordinal);
public override byte GetByte(int ordinal);
abstract member GetByte : int -> byte
override this.GetByte : int -> byte
override this.GetByte : int -> byte
Public Function GetByte (ordinal As Integer) As Byte
Public Overrides Function GetByte (ordinal As Integer) As Byte

매개 변수

ordinal
Int32

0부터 시작하는 열 서수입니다.

반품

지정된 열의 바이트 값입니다.

구현

예외

지정된 캐스트가 잘못되었습니다.

설명

변환은 수행되지 않습니다. 따라서 검색된 데이터는 이미 바이트여야 합니다.

이 메서드를 호출하기 전에 null 값을 찾기 위해 호출 IsDBNull 합니다.

적용 대상

추가 정보