This documentation is archived and is not being maintained.

Match Members

Represents the results from a single regular expression match.

The following tables list the members exposed by the Match type.

  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework Empty Gets the empty group. All failed matches return this empty match.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Groups Gets a collection of groups matched by the regular expression.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Index  The position in the original string where the first character of the captured substring was found.(inherited from Capture)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Length  The length of the captured substring.(inherited from Capture)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Success  Gets a value indicating whether the match is successful.(inherited from Group)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Value  Gets the captured substring from the input string.(inherited from Capture)
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework NextMatch 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).
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Result Returns the expansion of the specified replacement pattern.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework Synchronized Overloaded.  
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Gets the captured substring from the input string. (inherited from Capture)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Show: