Method CreateEntityReference
- Namespace
- SharpVectors.Dom
- Assembly
- SharpVectors.Dom.dll
CreateEntityReference(string)
Creates an XmlEntityReference with the specified name.
public override XmlEntityReference CreateEntityReference(string name)
Parameters
name
stringThe name of the entity reference.
Returns
- XmlEntityReference
The new XmlEntityReference.
Exceptions
- ArgumentException
The name is invalid (for example, names starting with'#' are invalid.)