ComponentOne Data Source for Entity Framework
C1.LiveLinq Namespace / IndexedQueryExtensions Class / Select<TSource,TResult> Method
The type of the elements of source.
The type of the value returned by selector.
An IIndexedSource<TSource> collection of values to invoke a transform function on.
A transform function to apply to each element.

In This Topic
    Select<TSource,TResult> Method (IndexedQueryExtensions)
    In This Topic
    Projects each element of a collection into a new form.
    Syntax
    'Declaration
     
    
    Public Shared Function Select
        (Of TSource,TResult)( _
       ByVal source As IIndexedSource(Of TSource), _
       ByVal selector As System.Linq.Expressions.Expression(Of Func(Of TSource,TResult)) _
    ) As IIndexedSource(Of TResult)
    public static IIndexedSource<TResult> Select<TSource,TResult>( 
       IIndexedSource<TSource> source,
       System.Linq.Expressions.Expression<Func<TSource,TResult>> selector
    )

    Parameters

    source
    An IIndexedSource<TSource> collection of values to invoke a transform function on.
    selector
    A transform function to apply to each element.

    Type Parameters

    TSource
    The type of the elements of source.
    TResult
    The type of the value returned by selector.

    Return Value

    An IIndexedSource<TResult> whose elements are the result of invoking the transform function on each element of source.
    See Also