|
|
|
SftTreeItem.DeleteDependents Method |
Deletes the item's dependents.
Syntax
VB.NET |
object.DeleteDependents() |
||
VB |
object.DeleteDependents |
||
C#.NET |
void object.DeleteDependents(); |
||
VC++ |
HRESULT object->DeleteDependents(); |
||
C |
HRESULT object->raw_DeleteDependents(); |
||
Delphi |
procedure object.DeleteDependents(); |
object
A SftTreeItem object.
Comments
The DeleteDependents method deletes the item's dependents.
By deleting the 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 itself is not deleted. To delete an item, the Items.Remove method can be used.
See Also SftTreeItem Object | Object Hierarchy