[]
Adds the specified uiElement and value to the TopicMap.
public void Add(object uiElement, MapItem info)
| Type | Name | Description |
|---|---|---|
| object | uiElement | The key of the element to add. |
| MapItem | info | The value of the element to add. |
| Type | Condition |
|---|---|
| ArgumentNullException | uiElement or info is null |
| ArgumentException | An element with the same |
Adds the specified path and value to the TopicMap.
public void Add(string path, MapItem info)
| Type | Name | Description |
|---|---|---|
| string | path | The key of the element to add. |
| MapItem | info | The value of the element to add. |
| Type | Condition |
|---|---|
| ArgumentNullException | path or info is null |
| ArgumentException | An element with the same |