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