ApplyResultSelector(TResult) Method

Lookup<'TKey, 'TElement>.ApplyResultSelector<'TResult> Method (Func<'TKey, IEnumerable<'TElement>, 'TResult>)


Applies a transform function to each key and its associated values and returns the results.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

member ApplyResultSelector<'TResult> : 
        resultSelector:Func<'TKey, IEnumerable<'TElement>, 'TResult> -> IEnumerable<'TResult>


Type: System.Func<'TKey, IEnumerable<'TElement>, 'TResult>

A function to project a result value from each key and its associated values.

Return Value

Type: System.Collections.Generic.IEnumerable<'TResult>

A collection that contains one value for each key/value collection pair in the Lookup<'TKey, 'TElement>.

Type Parameters


The type of the result values produced by resultSelector.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft