Version: 1.4
LanguageEnglish
  • C#

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.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答