IDatabaseTree.RemoveItem Method

Removes an item with the specified code from the tree.
Function RemoveItem( _ 
ByVal code As String
) As Boolean
This language is not supported or no code example is available.
bool RemoveItem( 
string code 
)
This language is not supported or no code example is available.

Parameters

code
string

The code of the item to be removed.

Return Value

bool

true if the element is successfully found and removed; otherwise, false. This method returns false if the code is not found in the tree.

Remarks
 
The tree structure is automatically rebuilt to reflect the removed item.
Version
 
Available since QDV 7.14.501.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition