[ Team LiB ] Previous Section Next Section

CaptureCollectionCF 1.0, serializable

System.Text.RegularExpressions (system.dll)class

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 int Count{get; }
// implements ICollection
   public bool IsReadOnly{get; }
   public bool IsSynchronized{get; }     
// implements ICollection
   public object SyncRoot{get; }         
// implements ICollection
   public Capture this[int i]{get; }
// Public Instance Methods
   public void CopyTo(Array array, int arrayIndex);  
// implements ICollection
   public IEnumerator GetEnumerator( );   
// implements IEnumerable
}

Returned By

Group.Captures

    [ Team LiB ] Previous Section Next Section