System::Collections::Generic::IEnumerable::LINQ_Max विधि

IEnumerable::LINQ_Max(const Func<Source, ResultType>&) method

template<typename ResultType> ResultType System::Collections::Generic::IEnumerable<T>::LINQ_Max(const Func<Source, ResultType> &selector)

संबंधित देखें

IEnumerable::LINQ_Max(const Func<T, ResultType>&) method

एक सामान्य अनुक्रम के प्रत्येक तत्व पर ट्रांसफ़ॉर्म फ़ंक्शन को कॉल करता है और अधिकतम परिणामी मान लौटाता है।

template<typename ResultType> ResultType System::Collections::Generic::IEnumerable<T>::LINQ_Max(const Func<T, ResultType> &selector)
पैरामीटरविवरण
ResultTypeसेलेक्टर द्वारा लौटाए गए मान का प्रकार।
पैरामीटरप्रकारविवरण
selectorconst Func<T, ResultType>&प्रत्येक तत्व पर लागू करने के लिए एक ट्रांसफ़ॉर्म फ़ंक्शन।

ReturnValue

क्रम में अधिकतम मान।

संबंधित देखें