Adds a node with the specified caption, location and icon to the current collection.
'Declaration
Public Overloads Function Add( _
ByVal As System.String, _
ByVal As IDocumentLocation, _
ByVal As System.Drawing.Icon _
) As System.Integer
public System.int Add(
System.string ,
IDocumentLocation ,
System.Drawing.Icon
)
Parameters
- caption
- The caption of the node to add.
- location
- The location associated with the node.
- icon
- The icon associated with the node.
Return Value
The index of the newly added node in the current collection.