Share via


SqlCeResultSet.Item Property (Int32)

Serves as an indexer for the SqlCeResultSet.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides ReadOnly Default Property Item ( _
    index As Integer _
) As Object
    Get
'Usage
Dim instance As SqlCeResultSet
Dim index As Integer
Dim value As Object

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

Parameters

  • index
    Type: System.Int32
    The position of the item in the ResultSet.

Property Value

Type: System.Object
The record at the specified index.

Implements

IDataRecord.Item[Int32]

See Also

Reference

SqlCeResultSet Class

Item Overload

System.Data.SqlServerCe Namespace