INonElementParentNodeGetElementById Method
Returns the first element within node's descendants whose ID is elementId.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
Element GetElementById(
	string elementId
)

Parameters

elementId
Type: SystemString
The element identifier.

Return Value

Type: Element
Returns the first matched element.
See Also