ComponentOne DynamicHelp for WinForms
C1.Win.C1DynamicHelp.4.8 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.

In This Topic
    Add(Object,MapItem) Method
    In This Topic
    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