MatchCollection.ICollection<Match>.Contains(Match) 方法

定義

判斷此集合是否包含特定的值。

 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

要在集合中找出的物件。

傳回

item 存在於此集合則為 true;否則為 false

實作

適用於