OdbcDataReader.GetByte(Int32) 메서드

정의

지정된 열의 값에 해당하는 바이트 값을 가져옵니다.

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

매개 변수

i
Int32

열 서수(0부터 시작)입니다.

반환

지정한 열의 값(바이트)입니다.

구현

예외

지정된 캐스트가 잘못된 경우

설명

변환은 ODBC 드라이버의 기본 기능에 따라 수행됩니다. 변환이 지원되지 않으면 메서드 호출이 실패합니다.

를 호출 IsDBNull 하여 이 메서드를 호출하기 전에 null 값을 찾습니다.

적용 대상

추가 정보