Skip to main content

DXCollectionBase<T>.Remove(T) Method

Removes the specified element from the collection.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public virtual bool Remove(
    T value
)

#Parameters

Name Type Description
value T

A <T> object to be removed from the collection.

#Returns

Type Description
Boolean

true if the specified element has been successfully removed from the collection; false if the specified element has not been found within the collection.

#Remarks

When an element is removed from the collection, all subsequent elements are moved up one position in the collection.

See Also