System::Collections::Generic::IEnumerable::LINQ_GroupBy yöntemi

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)

Ayrıca Bakınız

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

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

Ayrıca Bakınız

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

Bir dizinin öğelerini gruplar.

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)
ParametreAçıklama
AnahtarkeyPredicate tarafından döndürülen anahtarın türü
ParametreTürAçıklama
keyPredicateSystem::Func<T, Key>Her öğe için anahtarı çıkartan bir işlev.

ReturnValue

Bir IEnumerable nesnesi, nesneler dizisi ve bir anahtar içerir

Ayrıca Bakınız

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

Bir dizinin öğelerini gruplar.

template<typename Key,typename Element> System::SharedPtr<IEnumerable<System::SharedPtr<System::Linq::IGrouping<Key, Element>>>> System::Collections::Generic::IEnumerable<T>::LINQ_GroupBy(System::Func<T, Key> keyPredicate, System::Func<T, Element> elementSelector)
ParametreAçıklama
AnahtarkeyPredicate tarafından döndürülen anahtarın türü
ElementelementSelector tarafından döndürülen öğenin türü
ParametreTürAçıklama
keyPredicateSystem::Func<T, Key>Her öğe için anahtarı çıkartan bir işlev.
elementSelectorSystem::Func<T, Element>Her öğe için değer anahtarını çıkartan bir işlev.

ReturnValue

Bir IEnumerable nesnesi, nesneler dizisi ve bir anahtar içerir

Ayrıca Bakınız