SftTree/OCX 7.5 - ActiveX Tree Control


Remove Method, SftTreeItems Object

Removes an item.


VB.NETobject.Remove(ByVal ItemIndex As Integer)
VBobject.Remove(ByVal ItemIndex As Long)
C#.NETvoid object.Remove(int ItemIndex);
VC++HRESULT object->Remove(long ItemIndex);
CHRESULT object->raw_Remove(long ItemIndex);


A SftTreeItems object.


The zero-based index of the item to remove.


The Remove method removes an item.

If a parent item is deleted, dependents are deleted if the parent item is collapsed (dependents are not visible). If the parent item is expanded when it is deleted, its dependents are not deleted. The Item.Expanded property can be used to determine if an item is expanded. The Item.DeleteDependents method can be used to delete an item's dependents.

If many items have to be deleted, the BulkUpdate property can be used to indicate a mass-update, which is significantly faster.

See Also SftTreeItems Object | Object Hierarchy

Last Updated 08/13/2020 - (email)
© 2021 Softel vdm, Inc.