Skip to main content

MVCxTreeViewNodeCollection.Remove(MVCxTreeViewNode) Method

Removes a node object from the collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void Remove(
    MVCxTreeViewNode node
)

Parameters

Name Type Description
node MVCxTreeViewNode

A MVCxTreeViewNode object specifying the node to remove from the collection.

Remarks

Use the Remove method to remove the node specified by the node parameter from the current collection.

This method performs a linear search, so the average execution time is proportional to the Count. Elements that follow the removed element move up to occupy the vacated area. The indexes of the moved elements are updated.

See Also