## XmlTextWriter::get_XmlSpace method


返回一个表示当前 **xml:space** 范围的 [XmlSpace](../../xmlspace/)。

```cpp
System::Xml::XmlSpace System::Xml::XmlTextWriter::get_XmlSpace() override
```


### ReturnValue

一个表示当前 **xml:space** 范围的 [XmlSpace](../../xmlspace/)。

|||
|-|-|
| 值 | 含义 |
| None | 如果不存在 xml:space 范围，则这是默认值。 |
| Default | 当前范围是 xml:space=\"default\"。 |
| Preserve | 当前范围是 xml:space=\"preserve\"。 |

## 另见

* Enum [XmlSpace](../../xmlspace/)
* Class [XmlTextWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
