## XmlReader::IsName method


返回一个值，指示字符串参数是否为有效的 XML 名称。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| str | const String\& | 要验证的名称。 |

### ReturnValue

**true** if the name is valid; otherwise, **false**.

## 另见

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