## XmlSchemaElement::get_DefaultValue method


如果元素的内容是 simple type，或元素的内容为 **textOnly**，则返回该元素的默认值。

```cpp
String System::Xml::Schema::XmlSchemaElement::get_DefaultValue()
```


### ReturnValue

该元素的默认值。默认是 **nullptr**。可选。

## 另见

* Class [String](../../../system/string/)
* Class [XmlSchemaElement](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
