HtmlNodeItemGetOutermostNodeOfType Method
Return the specified node type encapsulating the provided node at the
outermost level.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static HtmlNodeItem GetOutermostNodeOfType(
HtmlNodeItem node,
string nodeType
)
Public Shared Function GetOutermostNodeOfType (
node As HtmlNodeItem,
nodeType As String
) As HtmlNodeItem
No code example is currently available or this language may not be supported.
- node HtmlNodeItem
-
Instance of the node which is either the specified type, or contained
by the specified type.
- nodeType String
-
The type of Node to find in the provided or parent instances.
HtmlNodeItem
If the specified type is found, then the instance of that type.
Otherwise, null.