## XmlSchemaElement::get_DefaultValue method


Returns the default value of the element if its content is a simple type or content of the element is **textOnly**.

```cpp
String System::Xml::Schema::XmlSchemaElement::get_DefaultValue()
```


### ReturnValue

The default value for the element. The default is **nullptr**. Optional.

## See Also

* Class [String](../../../system/string/)
* Class [XmlSchemaElement](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
