INonElementParentNodeGetElementById Method |
Returns the first element within node's descendants whose ID is elementId.
Namespace: Aspose.Html.DomAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax Element GetElementById(
string elementId
)
Function GetElementById (
elementId As String
) As Element
Element^ GetElementById(
String^ elementId
)
abstract GetElementById :
elementId : string -> Element
Parameters
- elementId
- Type: SystemString
The element identifier.
Return Value
Type:
Element
Returns the first matched element.
See Also