ComponentOne DynamicHelp for WinForms
Add(Object,MapItem) Method

C1.Win.C1DynamicHelp.4 Assembly > C1.Win.C1DynamicHelp Namespace > TopicMap Class > Add Method : Add(Object,MapItem) Method
The key of the element to add.
The value of the element to add.
Adds the specified uiElement and value to the TopicMap.
Syntax
'Declaration
 
Public Overloads Shadows Sub Add( _
   ByVal uiElement As System.Object, _
   ByVal info As MapItem _
) 
public new void Add( 
   System.object uiElement,
   MapItem info
)

Parameters

uiElement
The key of the element to add.
info
The value of the element to add.
Exceptions
ExceptionDescription
uiElement or info is null
An element with the same uiElement already exists in the TopicMap.
See Also

Reference

TopicMap Class
TopicMap Members
Overload List