## XmlSchema::set_BlockDefault method


Sets the **blockDefault** attribute which sets the default value of the **block** attribute on element and complex types in the **targetNamespace** of the schema.

```cpp
void System::Xml::Schema::XmlSchema::set_BlockDefault(XmlSchemaDerivationMethod value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | XmlSchemaDerivationMethod | The value to set. |

## See Also

* Enum [XmlSchemaDerivationMethod](../../xmlschemaderivationmethod/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
