SqlCeResultSet.Item Property (String)

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 ( _
    name As String _
) As Object
    Get
'Usage
Dim instance As SqlCeResultSet
Dim name As String
Dim value As Object

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

Parameters

  • name
    Type: System.String
    The name of the record in the ResultSet.

Property Value

Type: System.Object
The record that matches the specified name.

Implements

IDataRecord.Item[String]

See Also

Reference

SqlCeResultSet Class

Item Overload

System.Data.SqlServerCe Namespace