RegexCollection.Contains(Regex) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the RegexCollection contains a specific regular expression.
public:
bool Contains(System::Text::RegularExpressions::Regex ^ value);
public bool Contains (System.Text.RegularExpressions.Regex value);
abstract member Contains : System.Text.RegularExpressions.Regex -> bool
Public Function Contains (value As Regex) As Boolean
Parameters
- value
- Regex
The regular expression to locate in the RegexCollection.
Returns
true
if the RegexCollection contains the specified value
; otherwise, false
.