SearchPathDefinition<TDocument>Implicit Conversion (FieldDefinition<TDocument> to SearchPathDefinition<TDocument>) |
Namespace:
MongoDB.Driver.Search
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic static implicit operator SearchPathDefinition<TDocument> (
FieldDefinition<TDocument> field
)
Public Shared Widening Operator CType (
field As FieldDefinition(Of TDocument)
) As SearchPathDefinition(Of TDocument)
F# does not support the declaration of new casting operators.
Parameters
- field
- Type: MongoDB.Driver.FieldDefinition<TDocument>
The field.
Return Value
Type:
SearchPathDefinition<TDocument>
The result of the conversion.
See Also