WildcardPattern Members

Represents a wildcard pattern that is used for matching. This class cannot be inherited.

The following tables list the members exposed by the WildcardPattern type.

  Name Description
  WildcardPattern Overloaded. 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.

(see also Protected Methods)
public methodstaticContainsWildcardCharactersChecks to see whether the given string contains any wildcard characters.
public methodEquals  (Inherited from Object)
public methodstaticEscapeConverts a string that has escaped characters to a string that contains the escape codes.
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodIsMatchDetermines whether the supplied string matches the wildcard pattern that is specified in the System.Management.Automation.WildcardPattern constructor.
public methodToString  (Inherited from Object)
public methodToWqlConverts this wildcard pattern to a string that can be used as an operand on the right side of the LIKE operator of WQL.For example: "a*" is converted to "a%".
public methodstaticUnescapeConverts a string that has escaped characters to a string that includes the escaped characters in their unescaped form.

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Send comments about this topic to Microsoft.
© 2014 Microsoft