Click or drag to resize

AggregateFluentBase<TResult>.SetWindowFields<TWindowFields> Method (AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>)

Appends a $setWindowFields to the pipeline.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public virtual IAggregateFluent<BsonDocument> SetWindowFields<TWindowFields>(
	AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields> output
)

Parameters

output
Type: MongoDB.Driver.AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>
The window fields definition.

Type Parameters

TWindowFields
The type of the added window fields.

Return Value

Type: IAggregateFluent<BsonDocument>
The fluent aggregate interface.

Implements

IAggregateFluent<TResult>.SetWindowFields<TWindowFields>(AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>)
See Also