HtmlNodeItemGetId Method
Safely return the ID attribute of the provided node, if it exists.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static string GetId(
HtmlNodeItem node
)
Public Shared Function GetId (
node As HtmlNodeItem
) As String
No code example is currently available or this language may not be supported.
- node HtmlNodeItem
-
Reference to the HTML node to inspect.
String
The ID attribute if the node, if found. Otherwise, an empty string.