PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / OutlineNodeCollection Class / Add Method / Add(String,IDocumentLocation) Method
The caption of the node to add.
The location associated with the node.

In This Topic
    Add(String,IDocumentLocation) Method
    In This Topic
    Adds a node with the specified caption and location to the current collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal caption As String, _
       ByVal location As IDocumentLocation _
    ) As Integer
    public int Add( 
       string caption,
       IDocumentLocation location
    )

    Parameters

    caption
    The caption of the node to add.
    location
    The location associated with the node.

    Return Value

    The index of the newly added node in the current collection.
    See Also