System.Text.RegularExpressions.RegexCompilationInfo.Options Property

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

Syntax

public RegexOptions Options { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The Regex.CompileToAssembly(RegexCompilationInfo[], System.Reflection.AssemblyName) method generates an assembly that contains compiled regular expressions. Therefore, you do not have to specify RegexOptions.Compiled as one of the values of this property. If it is present, the RegexOptions.Compiled option is ignored.

Requirements

Namespace: System.Text.RegularExpressions
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0