BsonClassMapTClass Constructor (ActionBsonClassMapTClass) |
Initializes a new instance of the BsonClassMap class.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax public BsonClassMap(
Action<BsonClassMap<TClass>> classMapInitializer
)
Public Sub New (
classMapInitializer As Action(Of BsonClassMap(Of TClass))
)
new :
classMapInitializer : Action<BsonClassMap<'TClass>> -> BsonClassMap
Parameters
- classMapInitializer
- Type: SystemActionBsonClassMapTClass
The class map initializer.
See Also