MatchCollection

MatchCollection CF 1.0, serializable

System.Text.RegularExpressions (system.dll) class

This class is a collection of Match objects returned by Regex.Matches( ) . This collection contains each match that an expression finds in the search string. The Count property returns the number of matches found in the string.

 public class  MatchCollection  : 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 virtual Match  this  [int   i   ]{get; }  // Public Instance Methods  public void  CopyTo  (Array   array   , int   arrayIndex   );  // implements ICollection  public IEnumerator  GetEnumerator  ( );  // implements IEnumerable  } 

Returned By

Regex.Matches( )



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net