Method WithGuidRepresentation
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll
WithGuidRepresentation(GuidRepresentation)
Returns a serializer that has been reconfigured with the specified Guid representation.
public GuidSerializer WithGuidRepresentation(GuidRepresentation guidRepresentation)
Parameters
guidRepresentation
GuidRepresentation
The GuidRepresentation.
Returns
The reconfigured serializer.