Lookup<TKey,TElement>.ApplyResultSelector<TResult> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies a transform function to each key and its associated values and returns the results.
public:
generic <typename TResult>
System::Collections::Generic::IEnumerable<TResult> ^ ApplyResultSelector(Func<TKey, System::Collections::Generic::IEnumerable<TElement> ^, TResult> ^ resultSelector);
public System.Collections.Generic.IEnumerable<TResult> ApplyResultSelector<TResult> (Func<TKey,System.Collections.Generic.IEnumerable<TElement>,TResult> resultSelector);
member this.ApplyResultSelector : Func<'Key, seq<'Element>, 'Result> -> seq<'Result>
Public Function ApplyResultSelector(Of TResult) (resultSelector As Func(Of TKey, IEnumerable(Of TElement), TResult)) As IEnumerable(Of TResult)
Public Iterator 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
- Func<TKey,IEnumerable<TElement>,TResult>
A function to project a result value from each key and its associated values.
Returns
IEnumerable<TResult>
A collection that contains one value for each key/value collection pair in the Lookup<TKey,TElement>.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.