[]
Gets or sets the value associated with the specified key.
public MapItem this[object uiElement] { get; set; }
| Type | Name | Description |
|---|---|---|
| object | uiElement | The UI element of the value to get or set. |
| Type | Description |
|---|---|
| MapItem | The value associated with the specified key. If the specified key is not found, a get operation throws a KeyNotFoundException, and a set operation creates a new element with the specified key. |
| Type | Condition |
|---|---|
| KeyNotFoundException | The property is retrieved and key does not exist in the collection. |
| ArgumentNullException | key is null. |