GroupCollection.ICollection<Group>.Contains(Group) 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 group collection contains a specific group item.
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
Parameters
- item
- Group
The group to locate in the group collection.
Returns
true
if the group item is found in the group collection; false
otherwise.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the GroupCollection instance is cast to an ICollection<T> interface.