Uređivanje

Dijeli putem


IList<TValue>.remove_if(UnaryDelegate<TValue,Boolean>) Method

Definition

Removes elements from the container that pass a specified test.

public:
 void remove_if(Microsoft::VisualC::StlClr::UnaryDelegate<TValue, bool> ^ _Pred);
public void remove_if (Microsoft.VisualC.StlClr.UnaryDelegate<TValue,bool> _Pred);
abstract member remove_if : Microsoft.VisualC.StlClr.UnaryDelegate<'Value, bool> -> unit
Public Sub remove_if (_Pred As UnaryDelegate(Of TValue, Boolean))

Parameters

_Pred
UnaryDelegate<TValue,Boolean>

A Boolean test that determines which elements will be removed.

Remarks

For more information, see list::remove_if (STL/CLR).

Applies to