'Declaration
Public Overloads Shared Function SelectMany
(Of TSource,TResult)( _
ByVal source As IIndexedSource(Of TSource), _
ByVal selector As Expression(Of Func(Of TSource,IEnumerable(Of TResult))) _
) As IIndexedSource(Of TResult)
public static IIndexedSource<TResult> SelectMany<TSource,TResult>( IIndexedSource<TSource> source, Expression<Func<TSource,IEnumerable<TResult>>> selector )
Parameters
- source
- A collection of values to project.
- selector
- A transform function to apply to each element.
Type Parameters
- TSource
- The type of the elements of source.
- TResult
- The type of the elements of the sequence returned by selector.
Return Value
An IIndexedSource<TResult> whose elements are the result of invoking the one-to-many transform function on each element of the source collection.