HtmlNodeCollectionGetNodes(HtmlNodeCollection, String) Method

Return the all nodes found of a given node type.

Definition

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

Parameters

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

Return Value

HtmlNodeItem
Collection of nodes of the specified type, if found. Zero Length Array otherwise.

See Also