FilterDefinitionBuilderTDocumentText Method |
Creates a text filter.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax public FilterDefinition<TDocument> Text(
string search,
string language = null
)
Public Function Text (
search As String,
Optional language As String = Nothing
) As FilterDefinition(Of TDocument)
member Text :
search : string *
?language : string
(* Defaults:
let _language = defaultArg language null
*)
-> FilterDefinition<'TDocument>
Parameters
- search
- Type: SystemString
The search. - language (Optional)
- Type: SystemString
The language.
Return Value
Type:
FilterDefinitionTDocumentA text filter.
See Also