Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RegexCompilationInfo Class

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

Namespace: System.Text.RegularExpressions
Assembly: System (in system.dll)

[SerializableAttribute] 
public class RegexCompilationInfo
/** @attribute SerializableAttribute() */ 
public class RegexCompilationInfo
SerializableAttribute 
public class RegexCompilationInfo
Not applicable.

An array of RegexCompilationInfo objects is passed to the CompileToAssembly 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 Regex. The properties of the 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, and any additional options (such as whether the regular expression is case-insensitive).

You can instantiate a RegexCompilationInfo object by calling its class constructor.

System.Object
  System.Text.RegularExpressions.RegexCompilationInfo
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.