Table of Contents

Constructor StringFieldDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

StringFieldDefinition(string)

Initializes a new instance of the StringFieldDefinition<TDocument> class.

public StringFieldDefinition(string fieldName)

Parameters

fieldName string

Name of the field.