Sdílet prostřednictvím


WildcardPattern.IsMatch(String) Method

Definition

Indicates whether the wildcard pattern specified in the WildcardPattern constructor finds a match in the input string.

public:
 bool IsMatch(System::String ^ input);
public:
 bool IsMatch(Platform::String ^ input);
bool IsMatch(std::wstring const & input);
public bool IsMatch (string input);
member this.IsMatch : string -> bool
Public Function IsMatch (input As String) As Boolean

Parameters

input
String

The string to search for a match.

Returns

True if the wildcard pattern finds a match; otherwise, false.

Applies to