Click or drag to resize

ConstantSetFieldDefinitionTDocument, TFieldRender Method

Renders the SetFieldDefinition.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public override BsonElement Render(
	IBsonSerializer<TDocument> documentSerializer,
	IBsonSerializerRegistry serializerRegistry,
	LinqProvider linqProvider
)

Parameters

documentSerializer
Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The document serializer.
serializerRegistry
Type: MongoDB.Bson.SerializationIBsonSerializerRegistry
The serializer registry.
linqProvider
Type: MongoDB.Driver.LinqLinqProvider
The linq provider.

Return Value

Type: BsonElement
The rendered SetFieldDefinition.
See Also