Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WildcardPattern Constructor

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Initializes a new instance of the WildcardPattern class. The variants of this constructor can create an object that contains the wildcard pattern and an object that contains the pattern and options for changing the pattern.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubmethodWildcardPattern(String)

Initializes a new instance of the WildcardPattern class that contains the wildcard pattern that is used for matching.

System_CAPS_pubmethodWildcardPattern(String, WildcardOptions)

Initializes a new instance of the WildcardPattern class that contains the wildcard pattern and options for modifying the pattern.

For more information about wildcard patterns, see Supporting Wildcard Characters in Cmdlet Parameters.

Return to top

Community Additions

Show: