Share via


SqlCeResultSet.Item Property (Int32)

Serves as an indexer for the ResultSet.

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
'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] {
    Object^ get (int index) override;
/** @property */
public Object get_Item (int index)
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    The position of the item in the ResultSet.

Property Value

The record at the specified index.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

SqlCeResultSet Class
SqlCeResultSet Members
System.Data.SqlServerCe Namespace