Method MetaSearchSequenceToken
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
MetaSearchSequenceToken(ProjectionDefinition, FieldDefinition)
Combines an existing projection with a search sequence token projection.
public static ProjectionDefinition<TDocument> MetaSearchSequenceToken<TDocument>(this ProjectionDefinition<TDocument> projection, FieldDefinition<TDocument> field)
Parameters
projection
ProjectionDefinition
The projection.
field
FieldDefinition
The field.
Returns
A combined projection.
Type Parameters
TDocument
The type of the document.
MetaSearchSequenceToken(ProjectionDefinition, Expression<Func<TDocument, object>>)
Combines an existing projection with a search sequence token projection.
public static ProjectionDefinition<TDocument> MetaSearchSequenceToken<TDocument>(this ProjectionDefinition<TDocument> projection, Expression<Func<TDocument, object>> field)
Parameters
projection
ProjectionDefinition
The projection.
field
Expression<Func<TDocument, object>>
The field.
Returns
A combined projection.
Type Parameters
TDocument
The type of the document.