FilterDefinitionBuilderTDocumentJsonSchema Method |
Creates a json schema filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public FilterDefinition<TDocument> JsonSchema(
BsonDocument schema
)
Public Function JsonSchema (
schema As BsonDocument
) As FilterDefinition(Of TDocument)
member JsonSchema :
schema : BsonDocument -> FilterDefinition<'TDocument>
Parameters
- schema
- Type: MongoDB.BsonBsonDocument
The json validation schema.
Return Value
Type:
FilterDefinitionTDocumentA schema filter.
See Also