SftTree/NET 2.0 - Tree Control for Windows Forms


Remove Method, ItemClass Class

Removes this item.

Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET


public void Remove();
Public Sub Remove()


Removes this item.

If the item being removed has dependents, these are also removed.

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

The ItemClass.RemoveChildren method can be used to remove an item's dependents without removing the item itself.

This method can only be used for items in the item area.

See Also ItemClass Class | Classes | SftTree/NET 2.0