System::Collections::Generic::IEnumerable::LINQ_Where 方法
IEnumerable::LINQ_Where method
根据指定的谓词过滤序列。
SharedPtr<IEnumerable<T>> System::Collections::Generic::IEnumerable<T>::LINQ_Where(std::function<bool(T)> predicate)
| 参数 | 类型 | 描述 |
|---|---|---|
| 谓词 | std::function<bool(T)> | 一个测试每个元素是否满足某些条件的函数。 |
ReturnValue
一个包含过滤后元素的 IEnumerable。
另见
- Typedef SharedPtr
- Class IEnumerable
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Font for C++