HtmlNodeItemHasAncestorNodeType Method
Return a value indicating whether this node's parent or ancestors have
the specified tag name.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static bool HasAncestorNodeType(
HtmlNodeItem node,
string tagName
)
Public Shared Function HasAncestorNodeType (
node As HtmlNodeItem,
tagName As String
) As Boolean
No code example is currently available or this language may not be supported.
- node HtmlNodeItem
-
Child node at which to begin testing parents.
- tagName String
-
Tag name to test for.
Boolean
True if the node's parent or any other ancestor have the specified
tag name.