RegexCompilationInfo::Name Property
.NET Framework (current version)
Gets or sets the name of the type that represents the compiled regular expression.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The value for this property is null. |
| ArgumentException | The value for this property is an empty string. |
The RegexCompilationInfo class is used to define a compiled regular expression, which is represented as a class derived from Regex. The Name property defines the class name of the regular expression type, and the Namespace and Name properties together define its fully qualified name.
.NET Framework
Available since 1.1
Available since 1.1
Show: