Name
CaptureCollection
Synopsis
This class contains a set of captures
acquired by a single capturing group. A
CaptureCollection
is returned by
Group.Captures
. An integer indexer returns a
single Capture
object from this collection. The
Count
property gets the number
of captures in the collection.
public class CaptureCollection : ICollection, IEnumerable { // Public Instance Properties public field int Count{get; } // implements ICollection public field bool IsReadOnly{get; } public field bool IsSynchronized{get; } // implements ICollection public field object SyncRoot{get; } // implements ICollection public field Capture this{get; } // Public Instance Methods public method void CopyTo(Array array, int arrayIndex); // implements ICollection public method IEnumerator GetEnumerator(); // implements IEnumerable }
Returned By
Group.Captures
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.