[]
        
(Showing Draft Content)

C1.Win.C1DynamicHelp.TopicMap.Add

Add Method

Add(object, MapItem)

Adds the specified uiElement and value to the TopicMap.

Declaration
public void Add(object uiElement, MapItem info)
Parameters
Type Name Description
object uiElement

The key of the element to add.

MapItem info

The value of the element to add.

Exceptions
Type Condition
ArgumentNullException

uiElement or info is null

ArgumentException

An element with the same uiElement already exists in the TopicMap.

Add(string, MapItem)

Adds the specified path and value to the TopicMap.

Declaration
public void Add(string path, MapItem info)
Parameters
Type Name Description
string path

The key of the element to add.

MapItem info

The value of the element to add.

Exceptions
Type Condition
ArgumentNullException

path or info is null

ArgumentException

An element with the same path already exists in the TopicMap.