BsonSerializer.LookupSerializer Method (Type) |
Looks up a serializer for a Type.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public static IBsonSerializer LookupSerializer(
Type type
)
Public Shared Function LookupSerializer (
type As Type
) As IBsonSerializer
static member LookupSerializer :
type : Type -> IBsonSerializer
Parameters
- type
- Type: System.Type
The Type.
Return Value
Type:
IBsonSerializerA serializer for the Type.
See Also