Share via


DataProvider.Item Property (Int32)

Gets the item corresponding to the ordinal position idx.Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    idx As Integer _
) As Object
    Get
'Usage
Dim instance As DataProvider
Dim idx As Integer
Dim value As Object

value = instance(idx)
public Object this[
    int idx
] { get; }
public:
virtual property Object^ default[int idx] {
    Object^ get (int idx) sealed;
}
abstract Item : Object
override Item : Object
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: System.Object
The value of the specified column in its native format.

Implements

IDataRecord.Item[Int32]