IList<TValue>.remove_if(UnaryDelegate<TValue,Boolean>) 方法

定义

从通过指定测试的容器中删除元素。

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))

参数

_Pred
UnaryDelegate<TValue,Boolean>

一个布尔测试,用于确定将删除哪些元素。

注解

有关详细信息,请参阅 list::remove_if(STL/CLR)。

适用于