Back to Devexpress

DXCollectionBase<T>.Remove(T) Method

corelibraries-devexpress-dot-utils-dot-dxcollectionbase-1-dot-remove-x28-0-x29.md

latest1.4 KB
Original Source

DXCollectionBase<T>.Remove(T) Method

Removes the specified element from the collection.

Namespace : DevExpress.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public virtual bool Remove(
    T value
)
vb
Public Overridable Function Remove(
    value As T
) As Boolean

Parameters

NameTypeDescription
valueT

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

|

Returns

TypeDescription
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

DXCollectionBase<T> Class

DXCollectionBase<T> Members

DevExpress.Utils Namespace