BsonSerializerLookupSerializer Method (Type) |
Looks up a serializer for a Type.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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: SystemType
The Type.
Return Value
Type:
IBsonSerializerA serializer for the Type.
See Also