Click or drag to resize
IDocumentCreateEntityReference Method
Creates an
EntityReference
object. In addition, if the referenced entity is known, the child list of the
EntityReference
node is made the same as that of the corresponding
Entity
node.If any descendant of the
Entity
node has an unbound namespace prefix, the corresponding descendant of the created
EntityReference
node is also unbound; (its
namespaceURI
is
null
). The DOM Level 2 does not support any mechanism to resolve namespace prefixes.

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
IEntityReference CreateEntityReference(
	string name
)

Parameters

name
Type: SystemString

Return Value

Type: IEntityReference
The new
EntityReference
object.
Exceptions
ExceptionCondition
DomException INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character.
NOT_SUPPORTED_ERR: Raised if this document is an HTML document.
See Also