[]
Gets or sets the regular expression options.
public RegexOptions RegexOptions { get; set; }
Public Property RegexOptions As RegexOptions
| Type | Description |
|---|---|
| RegexOptions | A bitwise combination of the RegexOptions. The default is None. |
Enumeration combinations are validated when setting this property.
| Type | Condition |
|---|---|
| InvalidEnumArgumentException | The assigned value is not a valid RegexOptions value. |
| ArgumentException | The assigned value is a conjunction with invalid enumeration values. |