FieldDefinitionTDocument Conversion (String to FieldDefinitionTDocument) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax public static implicit operator FieldDefinition<TDocument> (
string fieldName
)
Public Shared Widening Operator CType (
fieldName As String
) As FieldDefinition(Of TDocument)
F# does not support the declaration of new casting operators.
Parameters
- fieldName
- Type: SystemString
Name of the field.
Return Value
Type:
FieldDefinitionTDocument
The result of the conversion.
See Also