Table of contents
TOC
Collapse the table of content
Expand the table of content

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

Den Delimarsky|Last Updated: 8/18/2017
|
1 Contributor

A query operator that selects the first element from those selected so far.

Namespace/Module Path: Microsoft.FSharp.Linq

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

Syntax

// Signature:
member this.Head : QuerySource<'T,'Q> -> 'T

// Usage:
queryBuilder.Head (source)

Parameters

source Type: QuerySource<'T,'Q>

The input query.

Return Value

The first element.

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

Query Expressions (F#)

© 2017 Microsoft