ComponentOne DynamicHelp for WinForms
C1.Win.C1DynamicHelp.4.8 Assembly / C1.Win.C1DynamicHelp Namespace / TopicMap Class / Add Method / Add(String,MapItem) Method
The key of the element to add.
The value of the element to add.

In This Topic
    Add(String,MapItem) Method
    In This Topic
    Adds the specified path and value to the TopicMap.
    Syntax
    'Declaration
     
    Public Overloads Sub Add( _
       ByVal path As System.String, _
       ByVal info As MapItem _
    ) 
    public void Add( 
       System.string path,
       MapItem info
    )

    Parameters

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