XPCollection<T>.Remove(T) Method
Removes the specified object from the XPCollection<T>.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v25.1.dll
NuGet Package: DevExpress.Xpo
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| theObject | T | A T object to remove from the collection. |
Returns
| Type | Description |
|---|---|
| Boolean | true if the specified object has been successfully removed from the collection; otherwise, false. |
Remarks
This method first populates the collection (see XPBaseCollection.Load), finds the theObject in the collection and then removes it.
See Also