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<T, Key>) method

Bir dizinin elemanlarını 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)
ParameterAçıklama
AnahtarkeyPredicate tarafından döndürülen anahtarın tipi
ParameterTypeAçıklama
keyPredicateSystem::Func<T, Key>Her öğe için anahtarı çıkarmak amacıyla bir fonksiyon.

ReturnValue

Nesnelerden oluşan bir dizi ve bir anahtar içeren bir IEnumerable.

Ayrıca Bakınız