## IEnumerable::LINQ_Where method


Filters a sequence based on the specified predicate.

```cpp
SharedPtr<IEnumerable<T>> System::Collections::Generic::IEnumerable<T>::LINQ_Where(std::function<bool(T)> predicate)
```


| Parameter | Type | Description |
| --- | --- | --- |
| predicate | std::function\<bool(T)> | A function that test each elements for some condition. |

### ReturnValue

An [IEnumerable](../) that contains filtered elements.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerable](../)
* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PUB for C++](../../../)
