Click or drag to resize

FindFluentBase<TDocument, TProjection>.Project<TNewProjection> Method

Projects the the result.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public abstract IFindFluent<TDocument, TNewProjection> Project<TNewProjection>(
	ProjectionDefinition<TDocument, TNewProjection> projection
)

Parameters

projection
Type: MongoDB.Driver.ProjectionDefinition<TDocument, TNewProjection>
The projection.

Type Parameters

TNewProjection
The type of the projection.

Return Value

Type: IFindFluent<TDocument, TNewProjection>
The fluent find interface.

Implements

IFindFluent<TDocument, TProjection>.Project<TNewProjection>(ProjectionDefinition<TDocument, TNewProjection>)
See Also