Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a wildcard pattern.
public ref class WildcardPattern sealed
public sealed class WildcardPattern
type WildcardPattern = class
Public NotInheritable Class WildcardPattern
Initializes and instance of the WildcardPattern class for the specified wildcard pattern.
Initializes an instance of the WildcardPattern class for the specified wildcard pattern expression, with options that modify the pattern.
Checks to see if the given string has any wild card characters in it.
Escape special chars in a string by replacing them with their escape codes.
Create a new WildcardPattern, or return an already created one.
Indicates whether the wildcard pattern specified in the WildcardPattern constructor finds a match in the input string.
Converts this wildcard to a string that can be used as a right-hand-side operand of the LIKE operator of WQL. For example: "a*" will be converted to "a%".
Unescapes any escaped characters in the input string.