Table of Contents

Method ToGuid

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToGuid()

Converts this BsonBinaryData to a Guid.

public Guid ToGuid()

Returns

Guid

A Guid.

ToGuid(GuidRepresentation)

Converts this BsonBinaryData to a Guid.

public Guid ToGuid(GuidRepresentation guidRepresentation)

Parameters

guidRepresentation GuidRepresentation

The representation for Guids.

Returns

Guid

A Guid.