FieldDefinitionTDocument, TFieldRender Method |
Renders the field to a
String.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.3.0
Syntax public abstract RenderedFieldDefinition<TField> Render(
IBsonSerializer<TDocument> documentSerializer,
IBsonSerializerRegistry serializerRegistry
)
Public MustOverride Function Render (
documentSerializer As IBsonSerializer(Of TDocument),
serializerRegistry As IBsonSerializerRegistry
) As RenderedFieldDefinition(Of TField)
abstract Render :
documentSerializer : IBsonSerializer<'TDocument> *
serializerRegistry : IBsonSerializerRegistry -> RenderedFieldDefinition<'TField>
Parameters
- documentSerializer
- Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The document serializer. - serializerRegistry
- Type: MongoDB.Bson.SerializationIBsonSerializerRegistry
The serializer registry.
Return Value
Type:
RenderedFieldDefinitionTFieldA
String.
See Also