System::Collections::Generic::List::TrueForAll method
List::TrueForAll method
确定集合中的每个元素是否匹配由指定谓词定义的条件。
bool System::Collections::Generic::List<T>::TrueForAll(System::Predicate<T> match)
| Parameter | Type | 描述 |
|---|---|---|
| match | System::Predicate<T> | Predicate 用于检查元素。 |
ReturnValue
如果每个元素都符合条件,则返回 true;否则返回 false。
另见
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++