System.Text.RegularExpressions.RegexCompilationInfo Class

Provides information about a regular expression that is used to compile a regular expression to a stand-alone assembly.

See Also: RegexCompilationInfo Members


public class RegexCompilationInfo


An array of System.Text.RegularExpressions.RegexCompilationInfo objects is passed to the Regex.CompileToAssembly(RegexCompilationInfo[], System.Reflection.AssemblyName) method to provide information about each regular expression to be included in the assembly. Each compiled regular expression that is included in the assembly is represented as a class derived from System.Text.RegularExpressions.Regex. The properties of the System.Text.RegularExpressions.RegexCompilationInfo type define the regular expression's class name, its fully qualified name (that is, its namespace and its type name), its regular expression pattern, any additional options (such as whether the regular expression is case-insensitive), and a time-out interval that specifies how long the regular expression engine should search for a match.

You can instantiate a System.Text.RegularExpressions.RegexCompilationInfo object by calling its overloaded class constructor.


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