System::Collections::Generic::IEnumerable::LINQ_First method
IEnumerable::LINQ_First() method
Returns the first element of a sequence.
T System::Collections::Generic::IEnumerable<T>::LINQ_First()
ReturnValue
First element in the sequence.
See Also
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
IEnumerable::LINQ_First(const Func<T, bool>&) method
Returns the first element of a sequence that satisfy the specified condition.
T System::Collections::Generic::IEnumerable<T>::LINQ_First(const Func<T, bool> &predicate)
Parameter | Type | Description |
---|---|---|
predicate | const Func<T, bool>& | A function to test each element for a condition. |
ReturnValue
First element in the sequence that satisfy the specified condition.
See Also
- Class Func
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Page for C++