Skip to main content
Tab

Collection.RemoveAt(Int32) Method

Removes the collection item at the specified index location from the current collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void RemoveAt(
    int index
)

Parameters

Name Type Description
index Int32

The zero-based index location of the menu item to remove.

Remarks

Use the RemoveAt method to remove the collection item at the specified index location from the collection. All items that follow that item are then moved up to fill in the vacant position. The indexes of the moved items are also updated.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RemoveAt(Int32) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also