Match Properties

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Match type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 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 propertyStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Empty Gets the empty group. All failed matches return this empty match.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Groups Gets a collection of groups matched by the regular expression.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Index The position in the original string where the first character of the captured substring was found. (Inherited from Capture.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Length The length of the captured substring. (Inherited from Capture.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Success Gets a value indicating whether the match is successful. (Inherited from Group.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Value Gets the captured substring from the input string. (Inherited from Capture.)

Top