## XmlEntity::get_PublicId method


返回实体声明中公共标识符的值。

```cpp
String System::Xml::XmlEntity::get_PublicId()
```


### ReturnValue

实体的公共标识符。如果没有公共标识符，返回 **nullptr**。

## 另见

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