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

シーケンス内の最大値。

参照