BsonClassMapLookupClassMap Method |
Looks up a class map (will AutoMap the class if no class map is registered).
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public static BsonClassMap LookupClassMap(
Type classType
)
Public Shared Function LookupClassMap (
classType As Type
) As BsonClassMap
static member LookupClassMap :
classType : Type -> BsonClassMap
Parameters
- classType
- Type: SystemType
The class type.
Return Value
Type:
BsonClassMapThe class map.
See Also