IDataRecord.GetName(Int32) 메서드

정의

찾을 필드의 이름을 가져옵니다.

public:
 System::String ^ GetName(int i);
public string GetName (int i);
abstract member GetName : int -> string
Public Function GetName (i As Integer) As String

매개 변수

i
Int32

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

반환

필드의 이름이거나 반환할 값이 없는 경우 빈 문자열("")입니다.

예외

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

적용 대상