Export (0) Print
Expand All

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
[C#]
public string GroupNameFromNumber(
 int i
);
[C++]
public: String* GroupNameFromNumber(
 int i
);
[JScript]
public function GroupNameFromNumber(
   i : int
) : String;

Parameters

i
The group number to convert to the corresponding group name.

Return Value

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

Requirements

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

Show:
© 2015 Microsoft