## XmlConvert::VerifyPublicId method


如果字符串参数中的所有字符都是有效的公共标识符字符，则返回传入的字符串实例。

```cpp
static String System::Xml::XmlConvert::VerifyPublicId(const String &publicId)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| publicId | const String\& | 包含要验证的标识符的 [String](../../../system/string/)。 |

### ReturnValue

如果参数中的所有字符都是有效的公共标识符字符，则返回传入的字符串。

## 另见

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