Export (0) Print
Expand All

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)

public IEnumerable<TResult> ApplyResultSelector<TResult>(
	Func<TKey, IEnumerable<TElement>, TResult> resultSelector
)

Type Parameters

TResult

The type of the result values produced by resultSelector.

Parameters

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

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

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

Community Additions

ADD
Show:
© 2014 Microsoft