IDataRecord.GetBoolean(Int32) 메서드

정의

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

public:
 bool GetBoolean(int i);
public bool GetBoolean (int i);
abstract member GetBoolean : int -> bool
Public Function GetBoolean (i As Integer) As Boolean

매개 변수

i
Int32

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

반환

열의 값입니다.

예외

전달된 인덱스가 0부터 FieldCount의 범위를 벗어난 경우

설명

변환이 수행되지 않습니다. 따라서 검색된 데이터는 이미 부울이어야 합니다. 그렇지 않으면 예외가 생성됩니다.

적용 대상