## XmlSchema::get_BlockDefault method


Returns the **blockDefault** attribute which sets the default value of the **block** attribute on element and complex types in the **targetNamespace** of the schema.

```cpp
XmlSchemaDerivationMethod System::Xml::Schema::XmlSchema::get_BlockDefault()
```


### ReturnValue

An XmlSchemaDerivationMethod value representing the different methods for preventing derivation. The default value is [XmlSchemaDerivationMethod::None](../../xmlschemaderivationmethod/).

## See Also

* Enum [XmlSchemaDerivationMethod](../../xmlschemaderivationmethod/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PUB for C++](../../../)
