Click or drag to resize
IDocumentGetElementById Method
Returns the
Element
whose is given by
elementId
. If no such element exists, returns
null
. Behavior is not defined if more than one element has this . The DOM implementation must have information that says which attributes are of type ID. Attributes with the name "ID" are not of type ID unless so defined. Implementations that do not know whether attributes are of type ID or not are expected to return
null
.

Namespace: Telerik.Windows.Documents.FormatProviders.Html.Parsing.Dom
Assembly: Telerik.Windows.Documents.FormatProviders.Html (in Telerik.Windows.Documents.FormatProviders.Html.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
IElement GetElementById(
	string elementId
)

Parameters

elementId
Type: SystemString

Return Value

Type: IElement
The matching element.
See Also