MatchCollection.ICollection<Match>.Contains(Match) Метод
Определение
Определяет, содержит ли коллекция указанное значение.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
Параметры
- item
- Match
Объект, который необходимо найти в коллекции.The object to locate in the collection.
Возвращаемое значение
Значение true
, если коллекция содержит значение item
. В противном случае — значение false
.true
if item
is found in the collection; otherwise, false
.