Table of Contents

Operator implicit operator

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

implicit operator FieldDefinition<TDocument>(string)

Performs an implicit conversion from string to FieldDefinition<TDocument>.

public static implicit operator FieldDefinition<TDocument>(string fieldName)

Parameters

fieldName string

Name of the field.

Returns

FieldDefinition<TDocument>

The result of the conversion.