This documentation is archived and is not being maintained.

Regex.Options Property

Returns the options passed into the Regex constructor.

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

Property Value

The options parameter that was passed into the Regex constructor.

Requirements

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

See Also

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

Show: