Document.CreateEntityReference

Document.CreateEntityReference 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.

public EntityReference CreateEntityReference(string name)
ParameterTypeDescription
nameStringThe entity name.

Return Value

The EntityReference.

See Also