Property this
this[string]
Accesses the element with the specified key.
Declaration
string this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
string | key | The key of the element to get or set. |
Property Value
Type | Description |
---|---|
string | The element with the specified key. |
Remarks
Creates an element if necessary when you set a value. Deletes an element if you pass an empty string as value.