## XmlTextWriter::WriteName method


Writes out the specified name, ensuring it is a valid name according to the [W3C XML 1.0 recommendation](https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

```cpp
void System::Xml::XmlTextWriter::WriteName(const String &name) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const String\& | Name to write. |

## See Also

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