Property AsBoolean NamespaceMongoDB.Bson AssemblyMongoDB.Bson.dll AsBoolean Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid). public bool AsBoolean { get; } Property Value bool