ShellBrowserMatchPattern Method |
Returns true if the given string matched the wild card pattern
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax public static bool MatchPattern(
string element,
string pattern
)
Public Shared Function MatchPattern (
element As String,
pattern As String
) As Boolean
public:
static bool MatchPattern(
String^ element,
String^ pattern
)
static member MatchPattern :
element : string *
pattern : string -> bool
Parameters
- element
- Type: SystemString
the element to check if it matches the pattern - pattern
- Type: SystemString
the pattern ie. *.* or *a?.txt
Return Value
Type:
Booleantrue if the element matched the pattern
See Also