## XmlConvert::IsPublicIdChar method


Returns the passed-in character instance if the character in the argument is a valid public id character, otherwise **nullptr**.

```cpp
static bool System::Xml::XmlConvert::IsPublicIdChar(char16_t ch)
```


| Parameter | Type | Description |
| --- | --- | --- |
| ch | char16_t | [Char](../../../system/char/) object to validate. |

### ReturnValue

The passed-in character if the character is a valid public id character, otherwise **nullptr**.

## See Also

* Class [XmlConvert](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
