All docs
V21.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPBaseCollection.BaseRemoveAsync(Object, CancellationToken) Method

Asynchronously removes the specified persistent object from the XPBaseCollection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.2.dll

Declaration

public Task<bool> BaseRemoveAsync(
    object theObject,
    CancellationToken cancellationToken = default(CancellationToken)
)

Parameters

Name Type Description
theObject Object

An object to remove from the collection.

Optional Parameters

Name Type Default Description
cancellationToken CancellationToken

null

A CancellationToken object that delivers a cancellation notice to the running operation.

Returns

Type Description
Task<Boolean>

A Task<TResult> that returns true if the object has been successfully removed from the collection; otherwise, false.

See Also