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.
[Visual Basic] Overloads Public Overridable Default ReadOnly Property Item( _ ByVal index As Integer _ ) As Object Implements IDataRecord.Item [C#] public virtual object this[int index ] {get;} [C++] public: __property virtual Object* get_Item(int index ); [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
Requirements
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
SqlCeDataReader Class | SqlCeDataReader Members | System.Data.SqlServerCe Namespace | SqlCeDataReader.Item Overload List
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.