FilterDefinitionBuilderTDocumentNot Method |
Creates a not filter.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax public FilterDefinition<TDocument> Not(
FilterDefinition<TDocument> filter
)
Public Function Not (
filter As FilterDefinition(Of TDocument)
) As FilterDefinition(Of TDocument)
member Not :
filter : FilterDefinition<'TDocument> -> FilterDefinition<'TDocument>
Parameters
- filter
- Type: MongoDB.DriverFilterDefinitionTDocument
The filter.
Return Value
Type:
FilterDefinitionTDocumentA not filter.
See Also