Class StringFieldDefinition<TDocument, TField>
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
A string based field name.
public sealed class StringFieldDefinition<TDocument, TField> : FieldDefinition<TDocument, TField>
Type Parameters
TDocument
The type of the document.
TField
The type of the field.
Inheritance
StringFieldDefinition<TDocument, TField>
Inherited Members
Constructors
StringFieldDefinition(string, IBsonSerializer)
Initializes a new instance of the StringFieldDefinition<TDocument, TField> class.
Methods
Renders the field to a RenderedFieldDefinition.