BsonSerializerRegistryGetSerializerT Method |
Gets the serializer for the specified T.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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