Share via


MustMatchPattern Constructor (String)

Initializes a new instance of MustMatchPattern.with the specified expression.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim expr As String

Dim instance As New MustMatchPattern(expr)

Syntax

'Declaration
Public Sub New ( _
    expr As String _
)
public MustMatchPattern (
    string expr
)
public:
MustMatchPattern (
    String^ expr
)
public MustMatchPattern (
    String expr
)
public function MustMatchPattern (
    expr : String
)

Parameters

  • expr
    [in] Regular expression to use in creating the pattern. See RegEx.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

MustMatchPattern Class
MustMatchPattern Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
MustMatchPattern.RegEx Field