FilterDefinitionBuilderTDocumentJsonSchema Method |
Creates a json schema filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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