ProjectionDefinition<TSource, TProjection>Implicit Conversion (BsonDocument to ProjectionDefinition<TSource, TProjection>) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntaxpublic static implicit operator ProjectionDefinition<TSource, TProjection> (
BsonDocument document
)
Public Shared Widening Operator CType (
document As BsonDocument
) As ProjectionDefinition(Of TSource, TProjection)
F# does not support the declaration of new casting operators.
Parameters
- document
- Type: MongoDB.Bson.BsonDocument
The document.
Return Value
Type:
ProjectionDefinition<TSource,
TProjection>
The result of the conversion.
See Also