DbDataRecord.Item[] Property
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.
Indicates that value from a column in its native format. This property is read-only.
Item[Int32] |
Indicates the value at the specified column in its native format given the column ordinal. This property is read-only. |
Item[String] |
Indicates the value at the specified column in its native format given the column name. This property is read-only. |
- Source:
- DbDataRecord.cs
- Source:
- DbDataRecord.cs
- Source:
- DbDataRecord.cs
Indicates the value at the specified column in its native format given the column ordinal. This property is read-only.
public:
abstract property System::Object ^ default[int] { System::Object ^ get(int i); };
public:
property System::Object ^ default[int] { System::Object ^ get(int i); };
public abstract object this[int i] { get; }
public object this[int i] { get; }
member this.Item(int) : obj
Default Public MustOverride ReadOnly Property Item(i As Integer) As Object
Default Public ReadOnly Property Item(i As Integer) As Object
Parameters
- i
- Int32
The column ordinal.
Property Value
The value at the specified column in its native format.
Implements
See also
Applies to
.NET 10 та інші версії
Продукт | Версії |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- DbDataRecord.cs
- Source:
- DbDataRecord.cs
- Source:
- DbDataRecord.cs
Indicates the value at the specified column in its native format given the column name. This property is read-only.
public:
abstract property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };
public:
property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };
public abstract object this[string name] { get; }
public object this[string name] { get; }
member this.Item(string) : obj
Default Public MustOverride ReadOnly Property Item(name As String) As Object
Default Public ReadOnly Property Item(name As String) As Object
Parameters
- name
- String
The column name.
Property Value
The value at the specified column in its native format.
Implements
See also
Applies to
.NET 10 та інші версії
Продукт | Версії |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: