System::Collections::Generic::IEnumerable::LINQ_Max method
IEnumerable::LINQ_Max(const Func<Source, ResultType>&) method
template<typename ResultType> ResultType System::Collections::Generic::IEnumerable<T>::LINQ_Max(const Func<Source, ResultType> &selector)
See Also
- Class Func
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
IEnumerable::LINQ_Max(const Func<T, ResultType>&) method
Invokes a transform function on each element of a generic sequence and returns the maximum resulting value.
template<typename ResultType> ResultType System::Collections::Generic::IEnumerable<T>::LINQ_Max(const Func<T, ResultType> &selector)
Parameter | Description |
---|---|
ResultType | The type of the value returned by selector. |
Parameter | Type | Description |
---|---|---|
selector | const Func<T, ResultType>& | A transform function to apply to each element. |
ReturnValue
The maximum value in the sequence.
See Also
- Class Func
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Page for C++