Skip to main content
.NET 8.0+

XPCollection.Remove(Object) Method

Removes the specified object from the XPCollection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v25.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public void Remove(
    object theObject
)

Parameters

Name Type Description
theObject Object

An object to remove from the collection.

Remarks

This method first populates the collection (see XPBaseCollection.Load), finds the theObject in the collection and then removes it.

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