Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

DeleteDependents Method, SftTree Object

Deletes an item's dependents.

Deprecated - Provided for compatibility with earlier versions only - Use Item.DeleteDependents instead

Syntax

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

object

A SftTree object.

ItemIndex

The zero-based index of the item, whose dependents are to be deleted.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.DeleteDependents instead

The DeleteDependents method deletes an item's dependents.

By deleting an item's dependents, the item becomes a leaf item which can no longer be expanded or collapsed. It is not an error to use the DeleteDependents method if an item doesn't have any dependents. The item described by ItemIndex is not deleted. To delete an item, the Items.Remove method can be used.

See Also SftTree Object | Object Hierarchy


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