Determines whether the supplied string matches the wildcard pattern that is specified in the >WildcardPattern constructor.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)
Dim instance As WildcardPattern
Dim input As String
Dim returnValue As Boolean
returnValue = instance.IsMatch(input)
Public Function IsMatch ( _
input As String _
) As Boolean
public bool IsMatch (
string input
)
public:
bool IsMatch (
String^ input
)
public boolean IsMatch (
String input
)
public function IsMatch (
input : String
) : boolean
Parameters
- input
The pattern to be checked.
Return Value
A Boolean value that indicates true when the supplied input string matches the wildcard pattern that is specified in the WildcardPattern constructor; otherwise false is returned.
For more information about wildcard patterns, see Supporting Wildcards in Cmdlet Parameters.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2 Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2