BsonValueAsBsonRegularExpression Property |
Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid).
Namespace: MongoDB.BsonAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.0.1
Syntax public BsonRegularExpression AsBsonRegularExpression { get; }
Public ReadOnly Property AsBsonRegularExpression As BsonRegularExpression
Get
member AsBsonRegularExpression : BsonRegularExpression with get
Property Value
Type:
BsonRegularExpressionSee Also