SearchPathDefinition<TDocument>Implicit Conversion (List<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> (
List<FieldDefinition<TDocument>> fields
)
Public Shared Widening Operator CType (
fields As List(Of FieldDefinition(Of TDocument))
) As SearchPathDefinition(Of TDocument)
F# does not support the declaration of new casting operators.
Parameters
- fields
- Type: System.Collections.Generic.List<FieldDefinition<TDocument>>
The list of fields.
Return Value
Type:
SearchPathDefinition<TDocument>
The result of the conversion.
See Also