.NET Framework Class Library
Enumerable..::.GroupBy Method

Groups the elements of a sequence.

Overload List

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGroupBy<(Of <(TSource, TKey>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, TKey>)>))Groups the elements of a sequence according to a specified key selector function.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGroupBy<(Of <(TSource, TKey>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, TKey>)>), IEqualityComparer<(Of <(TKey>)>))Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGroupBy<(Of <(TSource, TKey, TElement>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, TKey>)>), Func<(Of <(TSource, TElement>)>))Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGroupBy<(Of <(TSource, TKey, TResult>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, TKey>)>), Func<(Of <(TKey, IEnumerable<(Of <(TSource>)>), TResult>)>))Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGroupBy<(Of <(TSource, TKey, TElement>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, TKey>)>), Func<(Of <(TSource, TElement>)>), IEqualityComparer<(Of <(TKey>)>))Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGroupBy<(Of <(TSource, TKey, TElement, TResult>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, TKey>)>), Func<(Of <(TSource, TElement>)>), Func<(Of <(TKey, IEnumerable<(Of <(TElement>)>), TResult>)>))Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGroupBy<(Of <(TSource, TKey, TResult>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, TKey>)>), Func<(Of <(TKey, IEnumerable<(Of <(TSource>)>), TResult>)>), IEqualityComparer<(Of <(TKey>)>))Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGroupBy<(Of <(TSource, TKey, TElement, TResult>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, TKey>)>), Func<(Of <(TSource, TElement>)>), Func<(Of <(TKey, IEnumerable<(Of <(TElement>)>), TResult>)>), IEqualityComparer<(Of <(TKey>)>))Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function.
Top
See Also

Reference

Tags :


Page view tracker