## XmlDocument::CreateEntityReference method


Creates an [XmlEntityReference](../../xmlentityreference/) with the specified name.

```cpp
virtual SharedPtr<XmlEntityReference> System::Xml::XmlDocument::CreateEntityReference(const String &name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const String\& | The name of the entity reference. |

### ReturnValue

The new [XmlEntityReference](../../xmlentityreference/).

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlEntityReference](../../xmlentityreference/)
* Class [String](../../../system/string/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
