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