'Declaration Public Overloads Function Add( _ ByVal caption As System.String, _ ByVal location As IDocumentLocation, _ ByVal icon As System.Drawing.Icon _ ) As System.Integer
public System.int Add( System.string caption, IDocumentLocation location, System.Drawing.Icon 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.