SqlCeDataReader.Item Property (Int32)

Gets the value of the specified column in its native format given the column ordinal.

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 SqlCeDataReader
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)
Not applicable.

Parameters

  • index
    The column ordinal.

Property Value

The value of the specified column in its native format.

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeDataReader Class
SqlCeDataReader Members
System.Data.SqlServerCe Namespace