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

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.

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