## XmlDocument::set_PreserveWhitespace method


Sets a value indicating whether to preserve white space in element content.

```cpp
void System::Xml::XmlDocument::set_PreserveWhitespace(bool value)
```


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

## See Also

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