## XmlReader::IsNameToken method


Returns a value indicating whether or not the string argument is a valid XML name token.

```cpp
static bool System::Xml::XmlReader::IsNameToken(const String &str)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const String\& | The name token to validate. |

### ReturnValue

**true** if it is a valid name token; otherwise **false**.

## See Also

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