ComponentOne DynamicHelp for WinForms
Add(String,MapItem) Method

C1.Win.C1DynamicHelp.4 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.
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

Reference

TopicMap Class
TopicMap Members
Overload List