Skip to content

Remove Method

Description

Removes the specified tree node from the tree node collection.

Syntax

Public Sub Remove( _
    ByVal [Index](#) As Variant _
)

Parameters

  • Index: An integer or string that uniquely identifies the object within the collection. Use an integer to specify the value of the Index property; use a string to specify the value of the Key property.

Remarks

When a TreeViewNode is removed from the tree node collection, all subsequent tree nodes are moved up one position in the collection.

To remove all the members of a collection, use the Clear method.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.