Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Regex.CompileToAssembly Method

Compiles regular expressions and saves them to disk in a single assembly.

Overload List

Compiles one or more specified Regex objects to a named file.

[Visual Basic] Overloads Public Shared Sub CompileToAssembly(RegexCompilationInfo(), AssemblyName)
[C#] public static void CompileToAssembly(RegexCompilationInfo[], AssemblyName);
[C++] public: static void CompileToAssembly(RegexCompilationInfo*[], AssemblyName*);
[JScript] public static function CompileToAssembly(RegexCompilationInfo[], AssemblyName);

Compiles one or more specified Regex objects to a named file with specified attributes.

[Visual Basic] Overloads Public Shared Sub CompileToAssembly(RegexCompilationInfo(), AssemblyName, CustomAttributeBuilder())
[C#] public static void CompileToAssembly(RegexCompilationInfo[], AssemblyName, CustomAttributeBuilder[]);
[C++] public: static void CompileToAssembly(RegexCompilationInfo*[], AssemblyName*, CustomAttributeBuilder[]);
[JScript] public static function CompileToAssembly(RegexCompilationInfo[], AssemblyName, CustomAttributeBuilder[]);

Compiles one or more specified Regex objects and a specified resource file to a named assembly with specified attributes.

[Visual Basic] Overloads Public Shared Sub CompileToAssembly(RegexCompilationInfo(), AssemblyName, CustomAttributeBuilder(), String)
[C#] public static void CompileToAssembly(RegexCompilationInfo[], AssemblyName, CustomAttributeBuilder[], string);
[C++] public: static void CompileToAssembly(RegexCompilationInfo*[], AssemblyName*, CustomAttributeBuilder[], String*);
[JScript] public static function CompileToAssembly(RegexCompilationInfo[], AssemblyName, CustomAttributeBuilder[], String);

See Also

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

Show:
© 2015 Microsoft