FilterDefinitionBuilderTDocumentType Method (FieldDefinitionTDocument, String) |
Creates a type filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax public FilterDefinition<TDocument> Type(
FieldDefinition<TDocument> field,
string type
)
Public Function Type (
field As FieldDefinition(Of TDocument),
type As String
) As FilterDefinition(Of TDocument)
member Type :
field : FieldDefinition<'TDocument> *
type : string -> FilterDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTDocument
The field. - type
- Type: SystemString
The type.
Return Value
Type:
FilterDefinitionTDocumentA type filter.
See Also