IDataRecord.GetDateTime(Int32) 메서드

정의

지정된 필드의 날짜 및 시간 데이터 값을 가져옵니다.

public:
 DateTime GetDateTime(int i);
public DateTime GetDateTime (int i);
abstract member GetDateTime : int -> DateTime
Public Function GetDateTime (i As Integer) As DateTime

매개 변수

i
Int32

찾을 필드의 인덱스입니다.

반환

지정된 필드의 날짜 및 시간 데이터 값입니다.

예외

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

적용 대상