Click or drag to resize
BsonSerializerRegistryGetSerializerT Method
Gets the serializer for the specified T.

Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.4.1
Syntax
public IBsonSerializer<T> GetSerializer<T>()

Type Parameters

T

Return Value

Type: IBsonSerializerT
The serializer.

Implements

IBsonSerializerRegistryGetSerializerT
See Also