PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / OutlineNodeCollection Class / Add Method / Add(String,C1LinkTarget) Method
The caption of the node to add.
The C1LinkTarget associated with the node.

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

    Parameters

    caption
    The caption of the node to add.
    linkTarget
    The C1LinkTarget associated with the node.

    Return Value

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