ParentNode Property

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Gets the parent of this node (for nodes that can have parents).

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public HtmlNode ParentNode { get; internal set; }
Visual Basic
Public Property ParentNode As HtmlNode
	Get
	Friend Set
Visual C++
public:
property HtmlNode^ ParentNode {
	HtmlNode^ get ();
	internal: void set (HtmlNode^ value);
}

See Also