HtmlUtilGetValue(MatchCollection, Int32, String) Method

Return the value of the specified group member in the provided match.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 26.3006.2520
C#
public static string GetValue(
	MatchCollection matches,
	int index,
	string groupName
)

Parameters

matches  MatchCollection
Reference to the collection of matches to be accessed.
index  Int32
The index of the match to inspect.
groupName  String
Name of the group for which the value will be found.

Return Value

String
The value found in the specified group, if found. Otherwise, empty string.

See Also