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!

Match Class

Object
   Capture
      Group
         Match

[Visual Basic]
Public Class Match
   Inherits Group
[C#]
public class Match : Group
[C++]
public __gc class Match : public Group
[JScript]
public class Match extends Group

Remarks

Since a single match can involve multiple capturing groups, Match has Group() methods that return detailed results for each group. Match also inherits from Group so that the whole substring matched can be accessed directly. (That is, the Match instance itself is equivalent to Match.Group(0)). The Match object is immutable and has no public constructor.

Requirements

Namespace: System.Text.RegularExpressions

Assembly: System.Text.RegularExpressions.dll

See Also

Match Members | System.Text.RegularExpressions Namespace