Mono Class Library: System.Xml.XmlWriter Overview | Members

System.Xml.XmlWriter.WriteEntityRef Method

Writes an entity reference with the specified name. [Edit]

public abstract void WriteEntityRef (string name)

Parameters

name
A string specifying the name of the entity reference. [Edit]

Exceptions

TypeReason
ArgumentExceptionname is either null or string.Empty. [Edit]

Remarks

Operation
This method writes %name;.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0