[]
Adds a node to the current collection.
public int Add(OutlineNode node)
Public Function Add(node As OutlineNode) As Integer
| Type | Name | Description |
|---|---|---|
| OutlineNode | node | The node to add. |
| Type | Description |
|---|---|
| int | The index of the newly added node in the current collection. |
Adds a node with the specified caption and location to the current collection.
public int Add(string caption)
Public Function Add(caption As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | caption | The caption of the node to add. |
| Type | Description |
|---|---|
| int | The index of the newly added node in the current collection. |
Adds a node with the specified caption and location to the current collection.
public int Add(string caption, IDocumentLocation location)
Public Function Add(caption As String, location As IDocumentLocation) As Integer
| Type | Name | Description |
|---|---|---|
| string | caption | The caption of the node to add. |
| IDocumentLocation | location | The location associated with the node. |
| Type | Description |
|---|---|
| int | The index of the newly added node in the current collection. |
Adds a node with the specified caption and link target to the current collection.
public int Add(string caption, C1LinkTarget linkTarget)
Public Function Add(caption As String, linkTarget As C1LinkTarget) As Integer
| Type | Name | Description |
|---|---|---|
| string | caption | The caption of the node to add. |
| C1LinkTarget | linkTarget | The C1LinkTarget associated with the node. |
| Type | Description |
|---|---|
| int | The index of the newly added node in the current collection. |
Adds a node with the specified caption, location and icon to the current collection.
public int Add(string caption, IDocumentLocation location, Icon icon)
Public Function Add(caption As String, location As IDocumentLocation, icon As Icon) As Integer
| Type | Name | Description |
|---|---|---|
| string | caption | The caption of the node to add. |
| IDocumentLocation | location | The location associated with the node. |
| Icon | icon | The icon associated with the node. |
| Type | Description |
|---|---|
| int | The index of the newly added node in the current collection. |