Lookup<TKey, TElement>.ApplyResultSelector<TResult> Method

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)

Syntax

'Declaration
Public Function ApplyResultSelector(Of TResult) ( _
    resultSelector As Func(Of TKey, IEnumerable(Of TElement), TResult) _
) As IEnumerable(Of TResult)
public IEnumerable<TResult> ApplyResultSelector<TResult>(
    Func<TKey, IEnumerable<TElement>, TResult> resultSelector
)

Type Parameters

  • TResult
    The type of the result values produced by resultSelector.

Parameters

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>.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.