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)
См. также
- Typedef SharedPtr
- Class IEnumerable
- Class IGrouping
- Class Func
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
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 |
| Параметр | Тип | Описание |
|---|---|---|
| keyPredicate | System::Func<T, Key> | Функция для извлечения ключа из каждого элемента. |
ReturnValue
Объект IEnumerable, содержащий последовательность объектов и ключ.
См. также
- Typedef SharedPtr
- Class IEnumerable
- Class IGrouping
- Class Func
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Page for C++