Share via


Item Property (Int32)

Serves as an indexer to a specific field within the record.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Default Property Item ( _
    ordinal As Integer _
) As Object
    Get
    Set
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim value As Object

value = instance(ordinal)

instance(ordinal) = value
public Object this[
    int ordinal
] { get; set; }
public:
virtual property Object^ default[int ordinal] {
    Object^ get (int ordinal) sealed;
    void set (int ordinal, Object^ value) sealed;
}
abstract Item : Object with get, set
override Item : Object with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: System. . :: . .Object

Implements

IDataRecord. . :: . .Item[ ( [ ( Int32] ) ] )

See Also

Reference

SqlCeUpdatableRecord Class

SqlCeUpdatableRecord Members

Item Overload

System.Data.SqlServerCe Namespace