Compartir a través de


FilteredObservableCollection<T>.Remove Method

Definition

Overloads

Remove(Object)

Since this collection is read-only, throws an InvalidOperationException.

Remove(T)

Since this collection is read-only, throws an InvalidOperationException.

Remove(Object)

Since this collection is read-only, throws an InvalidOperationException.

public:
 virtual void Remove(System::Object ^ value);
public:
 void Remove(Platform::Object ^ value);
void Remove(winrt::Windows::Foundation::IInspectable const & value);
public void Remove (object value);
abstract member Remove : obj -> unit
override this.Remove : obj -> unit
Public Sub Remove (value As Object)

Parameters

value
Object

The item.

Implements

Applies to

Remove(T)

Since this collection is read-only, throws an InvalidOperationException.

public:
 virtual bool Remove(T item);
public:
 bool Remove(T item);
bool Remove(T item);
public bool Remove (T item);
abstract member Remove : 'T -> bool
override this.Remove : 'T -> bool
Public Function Remove (item As T) As Boolean

Parameters

item
T

The item.

Returns

true if the item was successfully removed, otherwise false.

Implements

Applies to