[]
Adds a node to the current collection.
public int Add(OutlineNode node)
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)
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)
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)
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)
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. |