BaseTreeViewController.TryRemoveItem

Declaration

public bool TryRemoveItem(int id, bool rebuildTree);

Parameters

id The item id.
rebuildTree Whether we need to rebuild tree data. Set to <c>false</c> when doing multiple operations and call <see cref="TreeViewController.RebuildTree()" />.

Returns

bool Whether the item was successfully found and removed.

Description

Removes an item by id.


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