WildcardPattern Methods

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticContainsWildcardCharacters(String)

Checks to see whether the given string contains any wildcard characters.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticEscape(String)

Escape special chars, except for those specified in charsNotToEscape in a string by replacing them with their escape codes.

System_CAPS_pubmethodSystem_CAPS_staticGet(String, WildcardOptions)

Create a new WildcardPattern, or return an already created one.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsMatch(String)

Determines whether the supplied string matches the wildcard pattern that is specified in the WildcardPattern.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodToWql()

Converts this wildcard pattern to a string that can be used as an operand on the right side of the LIKE operator of WQL. Introduced in Windows PowerShell 3.0.

For example: "a*" is converted to "a%".

System_CAPS_pubmethodSystem_CAPS_staticUnescape(String)

Converts a string that has escaped characters to a string that includes the escaped characters in their unescaped form.

Return to top

Community Additions

ADD
Show: