## XmlSchemaComplexType::get_Block method


Returns the **block** attribute.

```cpp
XmlSchemaDerivationMethod System::Xml::Schema::XmlSchemaComplexType::get_Block()
```


### ReturnValue

The **block** attribute prevents a complex type from being used in the specified type of derivation. The default is [XmlSchemaDerivationMethod::None](../../xmlschemaderivationmethod/). Optional.

## See Also

* Enum [XmlSchemaDerivationMethod](../../xmlschemaderivationmethod/)
* Class [XmlSchemaComplexType](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
