This documentation is archived and is not being maintained.

RegexCompilationInfo.Options Property

Gets or sets the compiler options to use when compiling the regular expression.

[Visual Basic]
Public Property Options As RegexOptions
[C#]
public RegexOptions Options {get; set;}
[C++]
public: __property RegexOptions get_Options();
public: __property void set_Options(RegexOptions);
[JScript]
public function get Options() : RegexOptions;
public function set Options(RegexOptions);

Property Value

A bitwise combination of RegexOptions values.

Remarks

RegexOptions.Compiled is ignored because all regular expressions are compiled through this mechanism.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

RegexCompilationInfo Class | RegexCompilationInfo Members | System.Text.RegularExpressions Namespace

Show: