SelectMany<TSource,TResult> Method
In This Topic
Select elements from an enumeration.
Syntax
'Declaration
Public Shared Function SelectMany
(Of ,)( _
ByVal As System.Collections.Generic.IEnumerable(Of TSource), _
ByVal As System.Func(Of TSource,IEnumerable(Of TResult)) _
) As System.Collections.Generic.IEnumerable(Of TResult)
public static System.Collections.Generic.IEnumerable<TResult> SelectMany<,>(
System.Collections.Generic.IEnumerable<TSource> ,
System.Func<TSource,IEnumerable<TResult>>
)
Parameters
- source
- The source.
- selector
- The selector.
Type Parameters
- TSource
- The type of the T source.
- TResult
- The type of the T result.
Return Value
A enumeration of selected values
See Also