MatchCollection.ICollection<Match>.Contains(Match) 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 collection contains a specific value.
virtual bool System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Contains(System::Text::RegularExpressions::Match ^ item) = System::Collections::Generic::ICollection<System::Text::RegularExpressions::Match ^>::Contains;
bool ICollection<Match>.Contains (System.Text.RegularExpressions.Match item);
abstract member System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Contains : System.Text.RegularExpressions.Match -> bool
override this.System.Collections.Generic.ICollection<System.Text.RegularExpressions.Match>.Contains : System.Text.RegularExpressions.Match -> bool
Function Contains (item As Match) As Boolean Implements ICollection(Of Match).Contains
Parameters
- item
- Match
The object to locate in the collection.
Returns
true
if item
is found in the collection; otherwise, false
.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.