Table of Contents

Property AsBoolean

Namespace
MongoDB.Bson
Assembly
MongoDB.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