## XmlWriter::get_XmlSpace method


当在派生类中被重写时，获取一个表示当前 **xml:space** 范围的 [XmlSpace](../../xmlspace/)。

```cpp
virtual System::Xml::XmlSpace System::Xml::XmlWriter::get_XmlSpace()
```


### ReturnValue

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

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

## 另见

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