ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX Namespace / DXUtil Class / SelectMany<TSource,TResult> Method
The type of the T source.
The type of the T result.
The source.
The selector.

In This Topic
    SelectMany<TSource,TResult> Method
    In This Topic
    Select elements from an enumeration.
    Syntax
    'Declaration
     
    Public Shared Function SelectMany
        (Of TSource,TResult)( _
       ByVal source As System.Collections.Generic.IEnumerable(Of TSource), _
       ByVal selector As System.Func(Of TSource,IEnumerable(Of TResult)) _
    ) As System.Collections.Generic.IEnumerable(Of TResult)
    public static System.Collections.Generic.IEnumerable<TResult> SelectMany<TSource,TResult>( 
       System.Collections.Generic.IEnumerable<TSource> source,
       System.Func<TSource,IEnumerable<TResult>> selector
    )

    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