BsonSerializerRegistryGetSerializerT Method |
Gets the serializer for the specified T.
Namespace: MongoDB.Bson.SerializationAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.4.1
Syntax public IBsonSerializer<T> GetSerializer<T>()
Public Function GetSerializer(Of T) As IBsonSerializer(Of T)
abstract GetSerializer : unit -> IBsonSerializer<'T>
override GetSerializer : unit -> IBsonSerializer<'T>
Type Parameters
- T
Return Value
Type:
IBsonSerializerT
The serializer.
Implements
IBsonSerializerRegistryGetSerializerTSee Also