Редагувати

Поділитися через


RegexCompilationInfo.Namespace Property

Definition

Gets or sets the namespace to which the new type belongs.

public:
 property System::String ^ Namespace { System::String ^ get(); void set(System::String ^ value); };
public string Namespace { get; set; }
member this.Namespace : string with get, set
Public Property Namespace As String

Property Value

The namespace of the new type.

Exceptions

The value for this property is null.

Remarks

The RegexCompilationInfo class is used to define a compiled regular expression, which is represented as a class derived from Regex. The Namespace property defines the namespace that contains the compiled regular expression type, and the Namespace and Name properties together define its fully qualified name.

Applies to