BsonRegularExpression Constructor (String, String) |
Initializes a new instance of the BsonRegularExpression class.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public BsonRegularExpression(
string pattern,
string options
)
Public Sub New (
pattern As String,
options As String
)
new :
pattern : string *
options : string -> BsonRegularExpression
Parameters
- pattern
- Type: SystemString
A regular expression pattern. - options
- Type: SystemString
Regular expression options.
See Also