## XmlWriterSettings::set_CloseOutput method


Sets a value indicating whether the [XmlWriter](../../xmlwriter/) should also close the underlying stream or TextWriter when the [XmlWriter::Close](../../xmlwriter/close/) method is called.

```cpp
void System::Xml::XmlWriterSettings::set_CloseOutput(bool value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | bool | The value to set. |

## See Also

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