FieldDefinitionTDocument, TFieldRender Method (IBsonSerializerTDocument, IBsonSerializerRegistry, Boolean) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public virtual RenderedFieldDefinition<TField> Render(
IBsonSerializer<TDocument> documentSerializer,
IBsonSerializerRegistry serializerRegistry,
bool allowScalarValueForArrayField
)
Public Overridable Function Render (
documentSerializer As IBsonSerializer(Of TDocument),
serializerRegistry As IBsonSerializerRegistry,
allowScalarValueForArrayField As Boolean
) As RenderedFieldDefinition(Of TField)
abstract Render :
documentSerializer : IBsonSerializer<'TDocument> *
serializerRegistry : IBsonSerializerRegistry *
allowScalarValueForArrayField : bool -> RenderedFieldDefinition<'TField>
override Render :
documentSerializer : IBsonSerializer<'TDocument> *
serializerRegistry : IBsonSerializerRegistry *
allowScalarValueForArrayField : bool -> RenderedFieldDefinition<'TField>
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:
RenderedFieldDefinitionTFieldA
RenderedFieldDefinitionTField.
See Also