ShellBrowserMatchPattern Method |
Returns true if the given string matched the wild card pattern
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic 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 String
- the element to check if it matches the pattern
- pattern String
- the pattern ie. *.* or *a?.txt
Return Value
Booleantrue if the element matched the pattern
See Also