NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MatchCollection Class

Represents the set of names appearing as capturing group names in a regular expression.

Object
   MatchCollection

[Visual Basic]
Public Class MatchCollection
   Implements ICollection, IEnumerable
[C#]
public class MatchCollection : ICollection, IEnumerable
[C++]
public __gc class MatchCollection : public ICollection, IEnumerable
[JScript]
public class MatchCollection implements ICollection, IEnumerable

Remarks

The collection is immutable (read-only) and has no public constructor. Instances are returned via Regex.Matches.

Requirements

Namespace: System.Text.RegularExpressions

Assembly: System.Text.RegularExpressions.dll

See Also

MatchCollection Members | System.Text.RegularExpressions Namespace