HtmlNodeCollectionGetNode Method

Return the first node found of a given node type.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static HtmlNodeItem GetNode(
	HtmlNodeCollection nodes,
	string nodeType
)

Parameters

nodes  HtmlNodeCollection
Collection of nodes to inspect.
nodeType  String
Node Type to find.

Return Value

HtmlNodeItem
First node of the specified type, if found. Null otherwise.

See Also