HtmlNodeItemGetOuterNodeOfType(HtmlNodeItem, String) Method
Return the specified node type encapsulating the provided node.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static HtmlNodeItem GetOuterNodeOfType(
HtmlNodeItem node,
string[] nodeTypes
)
Public Shared Function GetOuterNodeOfType (
node As HtmlNodeItem,
nodeTypes 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.
- nodeTypes String
-
List of types of Node to find in the provided or parent instances.
HtmlNodeItem
If one of the specified types is found, then the instance of that type.
Otherwise, null.