BsonClassMapRegisterClassMapTClass Method |
Creates and registers a class map.
Namespace: MongoDB.Bson.SerializationAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.3.0
Syntax public static BsonClassMap<TClass> RegisterClassMap<TClass>()
Public Shared Function RegisterClassMap(Of TClass) As BsonClassMap(Of TClass)
static member RegisterClassMap : unit -> BsonClassMap<'TClass>
Type Parameters
- TClass
- The class.
Return Value
Type:
BsonClassMapTClassThe class map.
See Also