Table of Contents

Property AsRegex

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsRegex

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

public Regex AsRegex { get; }

Property Value

Regex