طريقة 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<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)

انظر أيضًا

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)
معاملالوصف
المفتاحنوع المفتاح الذي تُعيده الدالة keyPredicate
معاملنوعالوصف
keyPredicateSystem::Func<T, Key>دالة لاستخراج المفتاح لكل عنصر.

ReturnValue

IEnumerable يحتوي على تسلسل من الكائنات ومفتاح

انظر أيضًا

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

يجمع عناصر التسلسل في مجموعات.

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)
معاملالوصف
المفتاحنوع المفتاح الذي تُعيده الدالة keyPredicate
Elementنوع العنصر الذي تُعيده الدالة elementSelector
معاملنوعالوصف
keyPredicateSystem::Func<T, Key>دالة لاستخراج المفتاح لكل عنصر.
elementSelectorSystem::Func<T, Element>دالة لاستخراج قيمة المفتاح لكل عنصر.

ReturnValue

IEnumerable يحتوي على تسلسل من الكائنات ومفتاح

انظر أيضًا