EntityDataReader.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Item[Int32] |
Gets the value of the specified column as an instance of Object. |
Item[String] |
Gets the value of the specified column as an instance of Object. |
Item[Int32]
Gets the value of the specified column as an instance of Object.
public override object this[int ordinal] { get; }
member this.Item(int) : obj
Default Public Overrides ReadOnly Property Item(ordinal As Integer) As Object
Parameters
- ordinal
- Int32
The zero-based column ordinal
Property Value
The value of the specified column.
Implements
Applies to
Item[String]
Gets the value of the specified column as an instance of Object.
public override object this[string name] { get; }
member this.Item(string) : obj
Default Public Overrides ReadOnly Property Item(name As String) As Object
Parameters
- name
- String
The name of the column.
Property Value
The value of the specified column.
Implements
Applies to
Entity Framework