NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Regex.GetGroupNames

[Visual Basic]
Public Function GetGroupNames() As String ()
[C#]
public string[] GetGroupNames();
[C++]
public: String* GetGroupNames() [];
[JScript]
public function GetGroupNames() : String[];

Return Value

Array of group names.

Remarks

Even if capturing groups are not explicitly named, automatic names "1", "2", "3", etc. are given to the groups, so this collection can always be used to determine the number of groups.

See Also

Regex Class | Regex Members | System.Text.RegularExpressions Namespace