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[] nodeTypes
)

Parameters

nodes  HtmlNodeCollection
Collection of nodes to inspect.
nodeTypes  String
Array of node types to find.

Return Value

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

See Also