Description
This will return true if the node passed is one of the children or grandchildren of this node.

Namespace: Docs.Html
Assembly: Docs.Html (in Docs.Html.dll) Version: 2.1.0.0 (2.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool IsAncestorOf(
	HtmlNode node
)
Public Function IsAncestorOf ( _
	node As HtmlNode _
) As Boolean
public:
bool IsAncestorOf(
	HtmlNode^ node
)

Parameters

node
HtmlNode
The node that might be a child.

Return Value

True if this node is an ancestor of the one specified.

See Also