MatchCollection Class |
Namespace: System.Text.RegularExpressions
public class MatchCollection : ICollection, IEnumerable
The MatchCollection type exposes the following members.
Name | Description | |
---|---|---|
MatchCollection | Initializes a new instance of the MatchCollection class |
Name | Description | |
---|---|---|
CopyTo | Copies all the elements of the collection to the given array starting at the given index. | |
Equals(Object) | (Inherited from Object.) | |
GetEnumerator | Provides an enumerator that iterates through the collection. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Count | Gets the number of matches. | |
IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread-safe). | |
Item | Gets an individual member of the collection. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |