SearchPathDefinitionTDocument Conversion (ListFieldDefinitionTDocument to SearchPathDefinitionTDocument) |
Namespace:
MongoDB.Driver.Search
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public 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.GenericListFieldDefinitionTDocument
The list of fields.
Return Value
Type:
SearchPathDefinitionTDocument
The result of the conversion.
See Also