SqlCeDataReader.Item Property (Int32)

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

[C#] In C#, this property is the indexer for the SqlCeDataReader class.

Overloads Public Overridable Default ReadOnly Property Item( _
   ByVal index As Integer _) As Object  Implements IDataRecord.Item
[C#]
public virtual object this[intindex] {get;}
[C++]
public: __property virtual Object* get_Item(intindex);
[JScript]
returnValue = SqlCeDataReaderObject.Item(index);-or-returnValue = SqlCeDataReaderObject(index);

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.

Arguments [JScript]

  • index
    The column ordinal.

Parameters [Visual Basic, C#, C++]

  • index
    The column ordinal.

Property Value

The value of the specified column in its native format.

Implements

IDataRecord.Item

Requirements

.NET Framework Security:

See Also

SqlCeDataReader Class | SqlCeDataReader Members | System.Data.SqlServerCe Namespace | SqlCeDataReader.Item Overload List