Name Property
Collapse the table of content
Expand the table of content

RegexCompilationInfo.Name Property


Gets or sets the name of the type that represents the compiled regular expression.

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

public string Name { get; set; }

Property Value

Type: System.String

The name of the new type.

Exception Condition

The value for this property is null.


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
Return to top
© 2016 Microsoft