EntityDataReader.Item プロパティ (Int32)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定された列の値を Object のインスタンスとして取得します。
名前空間: System.Data.Entity.Core.EntityClient
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public Overrides ReadOnly Default Property Item ( _
ordinal As Integer _
) As Object
Get
'使用
Dim instance As EntityDataReader
Dim ordinal As Integer
Dim value As Object
value = instance(ordinal)
public override Object this[
int ordinal
] { get; }
public:
virtual property Object^ default[int ordinal] {
Object^ get (int ordinal) override;
}
abstract Item : Object
override Item : Object
JScript supports the use of indexed properties, but not the declaration of new ones.
パラメーター
- ordinal
型 : System.Int32
プロパティ値
型 : System.Object
指定された列の値。