XmlWriter.WriteEntityRef Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, writes out an entity reference as &name;.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- name
- Type: System.String
The name of the entity reference.
| Exception | Condition |
|---|---|
| ArgumentException | name is either null or String.Empty. |
Show: