SqlCeUpdatableRecord.Item Property (String)
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 ( _
name As String _
) As Object
Get
Set
'Usage
Dim instance As SqlCeUpdatableRecord
Dim name As String
Dim value As Object
value = instance(name)
instance(name) = value
public Object this[
string name
] { get; set; }
public:
virtual property Object^ default[String^ name] {
Object^ get (String^ name) sealed;
void set (String^ name, 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
- name
Type: System.String
The name of the field (column) in the record.
Property Value
Type: System.Object