## XmlWriterSettings::get_WriteEndDocumentOnClose method


返回一个值，指示在调用 [XmlWriter::Close](../../xmlwriter/close/) 方法时，[XmlWriter](../../xmlwriter/) 是否会为所有未闭合的元素标签添加结束标签。

```cpp
bool System::Xml::XmlWriterSettings::get_WriteEndDocumentOnClose()
```


### ReturnValue

**true** if all unclosed element tags will be closed out; otherwise, **false**. The default value is **true**.

## 另见

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