IDatabaseTree.AddItem Method
Function AddItem( _
ByVal code As String _
) As IDatabaseTreeItem
This language is not supported or no code example is available.
Parameters
- code
- string
The code of the newly added item.
Return Value
IDatabaseTreeItemA newly added item.
Exception type | Condition |
---|---|
An item with the specified code already exists. |
The method returns a new item for which you can then set its text.
The tree structure is automatically rebuilt to reflect the new item.
Available since QDV 7.14.501.