[]
Gets or sets the element with the specified key.
public string this[Keys key] { get; set; }
Public Default Property Item(key As Keys) As String
| Type | Name | Description |
|---|---|---|
| Keys | key | The key of the element to get or set. |
| Type | Description |
|---|---|
| string | The element with the specified key. |
| Type | Condition |
|---|---|
| ArgumentNullException | The assigned value is null. |
| ArgumentException | The assigned value is an invalid action name. |