ApplyResultSelector(TResult) Method
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Linq
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).

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft