Match Properties
Collapse the table of content
Expand the table of content

Match Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Match type exposes the following members.

  NameDescription
Public property Captures Gets a collection of all the captures matched by the capturing group, in innermost-leftmost-first order (or innermost-rightmost-first order if the regular expression is modified with the RegexOptions.RightToLeft option). The collection may have zero or more items. (Inherited from Group.)
Public property Static member Empty Gets the empty group. All failed matches return this empty match.
Public property Groups Gets a collection of groups matched by the regular expression.
Public property Index The position in the original string where the first character of the captured substring was found. (Inherited from Capture.)
Public property Length The length of the captured substring. (Inherited from Capture.)
Public property Success Gets a value indicating whether the match is successful. (Inherited from Group.)
Public property Value Gets the captured substring from the input string. (Inherited from Capture.)
Top

Show:
© 2017 Microsoft