System.Text.RegularExpressions.RegexCompilationInfo.Pattern Property

Gets or sets the regular expression to compile.

Syntax

public string Pattern { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The RegexCompilationInfo.Pattern property can contain any valid regular expression. If the value of the RegexCompilationInfo.Pattern property is not a syntactically correct regular expression pattern, the call to the Regex.CompileToAssembly(RegexCompilationInfo[], System.Reflection.AssemblyName) method throws an ArgumentException.

Requirements

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