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)
ParameterΠεριγραφή
ΚλειδίΟ τύπος του κλειδιού που επιστρέφεται από το keyPredicate
ParameterTypeΠεριγραφή
keyPredicateSystem::Func<T, Key>Μια συνάρτηση για την εξαγωγή του κλειδιού για κάθε στοιχείο.

ReturnValue

Ένα IEnumerable που περιέχει μια ακολουθία αντικειμένων και ένα κλειδί

Δείτε επίσης