Adds a node with the specified caption and link target to the current collection.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int Add(
	string caption,
	C1LinkTarget linkTarget
)
Visual Basic
Public Function Add ( _
	caption As String, _
	linkTarget As C1LinkTarget _
) As Integer

Parameters

caption
Type: System..::..String
The caption of the node to add.
linkTarget
Type: C1.C1Preview..::..C1LinkTarget
The C1LinkTarget associated with the node.

Return Value

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

See Also