Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

GroupCollection Class

Represents a collection of captured groups. GroupCollection returns the set of captured groups in a single match.

For a list of all members of this type, see GroupCollection Members.


[Visual Basic]
Public Class GroupCollection
   Implements ICollection, IEnumerable
public class GroupCollection : ICollection, IEnumerable
public __gc class GroupCollection : public ICollection,
class GroupCollection implements ICollection, IEnumerable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The collection is immutable (read-only) and has no public constructor. Instances are returned in the collection returned by Groups


Namespace: System.Text.RegularExpressions

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System (in System.dll)

See Also

GroupCollection Members | System.Text.RegularExpressions Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.