Table of Contents

Constructor ConstantSetFieldDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ConstantSetFieldDefinition(FieldDefinition<TDocument, TField>, TField)

Initializes an instance of ConstantSetFieldDefinition.

public ConstantSetFieldDefinition(FieldDefinition<TDocument, TField> field, TField value)

Parameters

field FieldDefinition<TDocument, TField>

The field.

value TField

The value.