Method As
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
As(IBsonSerializer)
Changes the result type of the pipeline.
IAggregateFluent<TNewResult> As<TNewResult>(IBsonSerializer<TNewResult> newResultSerializer = null)
Parameters
newResultSerializer
IBsonSerializer
The new result serializer.
Returns
The fluent aggregate interface.
Type Parameters
TNewResult
The type of the new result.