This documentation is archived and is not being maintained.

Regex.GroupNameFromNumber Method

Gets the group name that corresponds to the specified group number.

[Visual Basic]
Public Function GroupNameFromNumber( _
   ByVal i As Integer _
) As String
public string GroupNameFromNumber(
 int i
public: String* GroupNameFromNumber(
 int i
public function GroupNameFromNumber(
   i : int
) : String;


The group number to convert to the corresponding group name.

Return Value

The string containing the group name associated with the specified group number.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

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