Edit

Share via


MatchCollection.ICollection<Match>.Contains(Match) Method

Definition

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