SqlCeConnectionStringBuilder.Item Property
Gets or sets the value associated with the specified key.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Overrides Default Property Item ( _
keyword As String _
) As Object
Get
Set
'Usage
Dim instance As SqlCeConnectionStringBuilder
Dim keyword As String
Dim value As Object
value = instance(keyword)
instance(keyword) = value
public override Object this[
string keyword
] { get; set; }
public:
virtual property Object^ default[String^ keyword] {
Object^ get (String^ keyword) override;
void set (String^ keyword, Object^ value) override;
}
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
- keyword
Type: System.String
The key of the item to get or set.
Property Value
Type: System.Object
The value associated with the specified key.