System::Collections::Generic::IEnumerable::LINQ_GroupBy メソッド

IEnumerable::LINQ_GroupBy(System::Func<Source, Key>) method

template<typename Key> SharedPtr<IEnumerable<SharedPtr<System::Linq::IGrouping<Key, Source>>>> System::Collections::Generic::IEnumerable<T>::LINQ_GroupBy(System::Func<Source, Key> keyPredicate)

参照

IEnumerable::LINQ_GroupBy(System::Func<T, Key>) method

シーケンスの要素をグループ化します。

template<typename Key> System::SharedPtr<IEnumerable<System::SharedPtr<System::Linq::IGrouping<Key, T>>>> System::Collections::Generic::IEnumerable<T>::LINQ_GroupBy(System::Func<T, Key> keyPredicate)
パラメーター説明
KeykeyPredicate が返すキーの型
パラメーター説明
keyPredicateSystem::Func<T, Key>各要素からキーを抽出する関数。

ReturnValue

オブジェクトのシーケンスとキーを含む IEnumerableです。

参照