BaseTreeView.TryRemoveItem

Declaration

public bool TryRemoveItem(int id, bool rebuildTree);

Parameters

id The item id.
rebuildTree Whether we need to rebuild tree data. Set to false when doing multiple additions to save a few rebuilds.

Returns

bool If the item was removed from the tree.

Description

Removes an item of the tree if it can find it.


Did you find this page useful? Please give it a rating: