Match Members
Public Properties
Captures (inherited from Group)
Supported by the .NET Compact Framework. | 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. |
![]() Empty Supported by the .NET Compact Framework. | Gets the empty group. All failed matches return this empty match. |
Groups Supported by the .NET Compact Framework. | Gets a collection of groups matched by the regular expression. |
Index (inherited from Capture)
Supported by the .NET Compact Framework. | The position in the original string where the first character of the captured substring was found. |
Length (inherited from Capture)
Supported by the .NET Compact Framework. | The length of the captured substring. |
Success (inherited from Group)
Supported by the .NET Compact Framework. | Gets a value indicating whether the match is successful. |
Value (inherited from Capture)
Supported by the .NET Compact Framework. | Gets the captured substring from the input string. |
Public Methods
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
NextMatch Supported by the .NET Compact Framework. | Returns a new Match with the results for the next match, starting at the position at which the last match ended (at the character beyond the last matched character). |
Result Supported by the .NET Compact Framework. | Returns the expansion of the passed replacement pattern. For example, if the replacement pattern is $1$2, Result returns the concatenation of Groups[1].Value and Groups[2].Value (Groups(1).Value and Groups(2).Value in Visual Basic). |
![]() Synchronized Supported by the .NET Compact Framework. | Returns a Match instance equivalent to the one supplied that is suitable to share between multiple threads. |
ToString (inherited from Capture)
Supported by the .NET Compact Framework. | Overridden. Gets the captured substring from the input string. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |



