Represents a sequence of capture substrings. The object is used to return the set of captures done by a single capturing group.
Object
CaptureCollection
[Visual Basic] Public Class CaptureCollection Implements ICollection, IEnumerable [C#] public class CaptureCollection : ICollection, IEnumerable [C++] public __gc class CaptureCollection : public ICollection, IEnumerable [JScript] public class CaptureCollection implements ICollection, IEnumerable
The collection is immutable (read-only) and has no public constructor. Instances are returned via the collection returned by Group.Captures
Namespace: System.Text.RegularExpressions
Assembly: System.Text.RegularExpressions.dll
CaptureCollection Members | System.Text.RegularExpressions Namespace