ShellBrowserBaseFilter2Regex Method (String, RegexOptions) |
Converts a semicolon separated file filter i.e. "*.txt;*.doc" to a
regular expression
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax protected static Regex Filter2Regex(
string value,
RegexOptions regexOptions
)
Protected Shared Function Filter2Regex (
value As String,
regexOptions As RegexOptions
) As Regex
protected:
static Regex^ Filter2Regex(
String^ value,
RegexOptions regexOptions
)
static member Filter2Regex :
value : string *
regexOptions : RegexOptions -> Regex
Parameters
- value
- Type: SystemString
The filter to convert - regexOptions
- Type: System.Text.RegularExpressionsRegexOptions
additional options for instantiating the regular expression
Return Value
Type:
Regexthe generated regular expression
See Also