INonElementParentNode.GetElementById

INonElementParentNode.GetElementById method

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

public Element GetElementById(string elementId)
ParameterTypeDescription
elementIdStringThe element identifier.

Return Value

Returns the first matched element.

See Also