Click or drag to resize

HtmlDocumentGetElementbyId Method

Gets the HTML node with the specified 'id' attribute value.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax
public HtmlNode GetElementbyId(
	string id
)

Parameters

id
Type: SystemString
The attribute id to match. May not be null.

Return Value

Type: HtmlNode
The HTML node with the matching id or null if not found.
See Also