## XmlWriter::WriteEntityRef method


在派生类中重写时，将实体引用写为 **&name**;。

```cpp
virtual void System::Xml::XmlWriter::WriteEntityRef(const String &name)=0
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | const String\& | 实体引用的名称。 |

## 另见

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
