Regex.GetGroupNames Method
Silverlight
Returns an array of capturing group names for the regular expression.
Namespace: System.Text.RegularExpressions
Assembly: System (in System.dll)
The collection of group names contains the set of strings used to name capturing groups in the expression. Even if capturing groups are not explicitly named, they are automatically assigned numerical names (1, 2, 3, and so on). Therefore, this collection can be used to determine the number of groups.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: