Table of Contents

Property AsBsonRegularExpression

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsBsonRegularExpression

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

public BsonRegularExpression AsBsonRegularExpression { get; }

Property Value

BsonRegularExpression