This documentation is archived and is not being maintained.
Regex.GroupNumberFromName Method
.NET Framework 1.1
Returns the group number that corresponds to the specified group name.
[Visual Basic] Public Function GroupNumberFromName( _ ByVal name As String _ ) As Integer [C#] public int GroupNumberFromName( string name ); [C++] public: int GroupNumberFromName( String* name ); [JScript] public function GroupNumberFromName( name : String ) : int;
Parameters
- name
- The group name to convert to the corresponding group number.
Return Value
The group number that corresponds to the specified group name.
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: