Table of Contents

Method WithGuidRepresentation

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

GuidSerializer

The reconfigured serializer.