Export (0) Print
Expand All

Group Members

Group represents the results from a single capturing group. A capturing group can capture zero, one, or more strings in a single match because of quantifiers, so Group supplies a collection of Capture objects.

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

  Name Description
Public property Supported by the .NET Compact 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.
Public property Supported by the .NET Compact 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 Length  The length of the captured substring.(Inherited from Capture.)
Public property Supported by the .NET Compact Framework Success Gets a value indicating whether the match is successful.
Public property Supported by the .NET Compact 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 Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
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 Static Supported by the .NET Compact Framework Synchronized Returns a Group object equivalent to the one supplied that is safe to share between multiple threads.
Public method Supported by the .NET Compact Framework ToString  Gets the captured substring from the input string. (Inherited from Capture.)
Top

  Name Description
Protected method Supported by the .NET Compact 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 MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft