Table of Contents

Class StringFieldDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A string based field name.

public sealed class StringFieldDefinition<TDocument> : FieldDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
FieldDefinition<TDocument>
StringFieldDefinition<TDocument>
Inherited Members

Constructors

StringFieldDefinition(string)

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

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the field to a string.