## XmlDocument::CreateEntityReference method


创建一个具有指定名称的 [XmlEntityReference](../../xmlentityreference/)。

```cpp
virtual SharedPtr<XmlEntityReference> System::Xml::XmlDocument::CreateEntityReference(const String &name)
```


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

### ReturnValue

新的 [XmlEntityReference](../../xmlentityreference/)。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlEntityReference](../../xmlentityreference/)
* Class [String](../../../system/string/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
