HtmlNodeCollectionGetDocument Method

Return a reference to the HTML document to which this collection is associated.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static HtmlDocument GetDocument(
	HtmlNodeCollection nodes
)

Parameters

nodes  HtmlNodeCollection
Reference to the collection of nodes to test.

Return Value

HtmlDocument
Reference to the root document to which this collection is associated.

See Also