Click or drag to resize

BsonDocumentBackedClassSerializerTClassCreateInstance Method

Creates the instance.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
protected abstract TClass CreateInstance(
	BsonDocument backingDocument
)

Parameters

backingDocument
Type: MongoDB.BsonBsonDocument
The backing document.

Return Value

Type: TClass
An instance of TClass.
See Also