Share via


Pattern Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the pattern to match.

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

Syntax

'Declaration
Public ReadOnly Property Pattern As String
public string Pattern { get; }
public:
property String^ Pattern {
    String^ get ();
}
member Pattern : string with get
function get Pattern () : String

Property Value

Type: System. . :: . .String
The pattern match.

.NET Framework Security

See Also

Reference

RegexCompiler Class

System.Text.RegularExpressions Namespace