GroupCollection.ICollection<Group>.Contains(Group) 方法

定義

判斷群組集合是否包含特定群組項目。

 virtual bool System.Collections.Generic.ICollection<System.Text.RegularExpressions.Group>.Contains(System::Text::RegularExpressions::Group ^ item) = System::Collections::Generic::ICollection<System::Text::RegularExpressions::Group ^>::Contains;
bool ICollection<Group>.Contains (System.Text.RegularExpressions.Group item);
abstract member System.Collections.Generic.ICollection<System.Text.RegularExpressions.Group>.Contains : System.Text.RegularExpressions.Group -> bool
override this.System.Collections.Generic.ICollection<System.Text.RegularExpressions.Group>.Contains : System.Text.RegularExpressions.Group -> bool
Function Contains (item As Group) As Boolean Implements ICollection(Of Group).Contains

參數

item
Group

要在群組集合中尋找的群組。

傳回

若在群組集合中找到群組項目,則為 true;否則為 false

實作

備註

這個成員是明確介面成員實作, 只有在 GroupCollection 執行個體轉換成 ICollection<T> 介面時,才能使用這個成員。

適用於