'Declaration Public Overloads Shared Function SelectMany (Of TSource,TCollection,TResult)( _ ByVal source As IIndexedSource(Of TSource), _ ByVal collectionSelector As Expression(Of Func(Of TSource,IEnumerable(Of TCollection))), _ ByVal resultSelector As Expression(Of Func(Of TSource,TCollection,TResult)) _ ) As IIndexedSource(Of TResult)
Parameters
- source
- A collection of values to project.
- collectionSelector
- A transform function to apply to each element of the input collection.
- resultSelector
- A transform function to apply to each element of the intermediate sequence.
Type Parameters
- TSource
- The type of the elements of source.
- TCollection
- The type of the intermediate elements collected by collectionSelector.
- TResult
- The type of the elements of the resulting collection.
Return Value
An IIndexedSource<TResult> whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of source and then mapping each of those sequence elements and their corresponding source element to a result element.