GetElementById

INonElementParentNode.GetElementById method

Returns the first element within node’s descendants whose ID is elementId.

public Element GetElementById(string elementId)
Parameter Type Description
elementId String The element identifier.

Return Value

Returns the first matched element.

See Also