Table of Contents

Property AsGuid

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsGuid

Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid).

public Guid AsGuid { get; }

Property Value

Guid