## XmlReader::IsNameToken method


Returnerar ett värde som indikerar om strängargumentet är ett giltigt XML-namntoken eller inte.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| str | const String\& | Namntokenet att validera. |

### ReturnValue

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

## Se även

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