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!

CaptureCollection Class

Represents a sequence of capture substrings. The object is used to return the set of captures done by a single capturing group.

Object
   CaptureCollection

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

Remarks

The collection is immutable (read-only) and has no public constructor. Instances are returned via the collection returned by Group.Captures

Requirements

Namespace: System.Text.RegularExpressions

Assembly: System.Text.RegularExpressions.dll

See Also

CaptureCollection Members | System.Text.RegularExpressions Namespace