Lookup(Of TKey, TElement).ApplyResultSelector(Of TResult) Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Applies a transform function to each key and its associated values and returns the results.
Assembly: System.Core (in System.Core.dll)
'Declaration Public Function ApplyResultSelector(Of TResult) ( _ resultSelector As Func(Of TKey, IEnumerable(Of TElement), TResult) _ ) As IEnumerable(Of TResult)
Type Parameters
- TResult
The type of the result values produced by resultSelector.
Parameters
- resultSelector
- Type: System.Func(Of TKey, IEnumerable(Of TElement), TResult)
A function to project a result value from each key and its associated values.
Return Value
Type: System.Collections.Generic.IEnumerable(Of TResult)A collection that contains one value for each key/value collection pair in the Lookup(Of TKey, TElement).
Show: