DbDataReader.Item[] 속성

정의

지정된 열의 값을 Object의 인스턴스로 가져옵니다.

오버로드

Item[Int32]

파생 클래스에서 재정의되는 경우 지정된 열의 값을 Object의 인스턴스로 가져옵니다.

Item[String]

파생 클래스에서 재정의되는 경우 지정된 열의 값을 Object의 인스턴스로 가져옵니다.

Item[Int32]

Source:
DbDataReader.cs
Source:
DbDataReader.cs
Source:
DbDataReader.cs

파생 클래스에서 재정의되는 경우 지정된 열의 값을 Object의 인스턴스로 가져옵니다.

public:
 abstract property System::Object ^ default[int] { System::Object ^ get(int ordinal); };
public abstract object this[int ordinal] { get; }
member this.Item(int) : obj
Default Public MustOverride ReadOnly Property Item(ordinal As Integer) As Object

매개 변수

ordinal
Int32

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

속성 값

지정된 열의 값입니다.

구현

예외

열 인덱스가 범위를 벗어났습니다.

추가 정보

적용 대상

Item[String]

Source:
DbDataReader.cs
Source:
DbDataReader.cs
Source:
DbDataReader.cs

파생 클래스에서 재정의되는 경우 지정된 열의 값을 Object의 인스턴스로 가져옵니다.

public:
 abstract property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };
public abstract object this[string name] { get; }
member this.Item(string) : obj
Default Public MustOverride ReadOnly Property Item(name As String) As Object

매개 변수

name
String

열 이름입니다.

속성 값

지정된 열의 값입니다.

구현

예외

지정된 이름의 열을 찾을 수 없는 경우

추가 정보

적용 대상