Class BsonRegularExpression
Represents a BSON regular expression value.
public class BsonRegularExpression : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonRegularExpression>, IEquatable<BsonRegularExpression>
- Inheritance
-
Bson
Regular Expression
- Implements
- Inherited Members
- Extension Methods
Constructors
- Bson
Regular Expression(string) Initializes a new instance of the BsonRegularExpression class.
- Bson
Regular Expression(string, string) Initializes a new instance of the BsonRegularExpression class.
- Bson
Regular Expression(Regex) Initializes a new instance of the BsonRegularExpression class.
Properties
- Bson
Type Gets the BsonType of this BsonValue.
- Options
Gets the regular expression options.
- Pattern
Gets the regular expression pattern.
Methods
- Compare
To(Bson Regular Expression) Compares this BsonRegularExpression to another BsonRegularExpression.
- Compare
To(Bson Value) Compares the BsonRegularExpression to another BsonValue.
- Create(object)
Creates a new BsonRegularExpression.
- Equals(Bson
Regular Expression) Compares this BsonRegularExpression to another BsonRegularExpression.
- Equals(object)
Compares this BsonRegularExpression to another object.
- Get
Hash Code() Gets the hash code.
- To
Regex() Converts the BsonRegularExpression to a Regex.
- To
String() Returns a string representation of the value.
Operators
- operator ==(Bson
Regular Expression, Bson Regular Expression) Compares two BsonRegularExpression values.
- implicit operator Bson
Regular Expression(string) Converts a string to a BsonRegularExpression.
- implicit operator Bson
Regular Expression(Regex) Converts a Regex to a BsonRegularExpression.
- operator !=(Bson
Regular Expression, Bson Regular Expression) Compares two BsonRegularExpression values.