IRepresentationConfigurable(TSerializer).WithRepresentation Method (original) (raw)
IRepresentationConfigurableTSerializerWithRepresentation Method
Returns a serializer that has been reconfigured with the specified representation.
Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
TSerializer WithRepresentation( BsonType representation )
Function WithRepresentation ( representation As BsonType ) As TSerializer
abstract WithRepresentation : representation : BsonType -> 'TSerializer
Parameters
representation
Type: MongoDB.BsonBsonType
The representation.
Return Value
Type: TSerializer
The reconfigured serializer.
See Also