Click or drag to resize

FieldDefinitionTDocument, TFieldRender Method (IBsonSerializerTDocument, IBsonSerializerRegistry, Boolean)

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public virtual RenderedFieldDefinition<TField> Render(
	IBsonSerializer<TDocument> documentSerializer,
	IBsonSerializerRegistry serializerRegistry,
	bool allowScalarValueForArrayField
)

Parameters

documentSerializer
Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The document serializer.
serializerRegistry
Type: MongoDB.Bson.SerializationIBsonSerializerRegistry
The serializer registry.
allowScalarValueForArrayField
Type: SystemBoolean
Whether a scalar value is allowed for an array field.

Return Value

Type: RenderedFieldDefinitionTField
A RenderedFieldDefinitionTField.
See Also