Share via


SqlCeDataReader.Item Property (String)

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

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
'Usage
Dim instance As SqlCeDataReader
Dim name As String
Dim value As Object

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

Parameters

  • name
    The column name.

Property Value

The value of the specified column in its native format.

Remarks

A case-sensitive lookup is performed first. If it fails, a second case-insensitive search is made.

This method is kana-width insensitive.

.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, 1.0

See Also

Reference

SqlCeDataReader Class
SqlCeDataReader Members
System.Data.SqlServerCe Namespace