RegexCompilationInfo::Pattern Property
.NET Framework (current version)
Gets or sets the regular expression to compile.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The value for this property is null. |
The Pattern property can contain any valid regular expression. If the value of the Pattern property is not a syntactically correct regular expression pattern, the call to the CompileToAssembly method throws an ArgumentException.
.NET Framework
Available since 1.1
Available since 1.1
Show: