Condividi tramite


QueryBuilder.Select<'T,'Q,'Result> Method (F#)

A query operator that projects each of the elements selected so far.

Namespace/Module Path: Microsoft.FSharp.Linq

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
member this.Select : QuerySource<'T,'Q> * ('T -> 'Result) -> QuerySource<'Result,'Q>

// Usage:
queryBuilder.Select (source, projection)

Parameters

  • source
    Type: QuerySource<'T,'Q>

    The input query.

  • projection
    Type: 'T -> 'Result

    A function that returns a result from each element in the input query.

Return Value

The resulting query.

Remarks

For more information and examples, see Query Expressions (F#).

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Reference

Linq.QueryBuilder Class (F#)

Microsoft.FSharp.Linq Namespace (F#)

Query Expressions (F#)