Click or drag to resize

BsonRegularExpression Constructor (String, String)

Initializes a new instance of the BsonRegularExpression class.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public BsonRegularExpression(
	string pattern,
	string options
)

Parameters

pattern
Type: SystemString
A regular expression pattern.
options
Type: SystemString
Regular expression options.
See Also