Skip to main content
A newer version of this page is available. .

Collection.Remove(ICollectionItem) Method

Removes the specified item from the collection.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.dll

Declaration

public virtual void Remove(
    ICollectionItem item
)

Parameters

Name Type Description
item ICollectionItem

An object supporting the ICollectionItem interface representing the item to be removed.

Remarks

Note that the Remove method removes only the first occurrence of the specified item. If the specified item is not found, the method performs nothing.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Remove(ICollectionItem) 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