Gets or sets the blockDefault attribute which sets the default value of the block attribute on element and complex types in the targetNamespace of the schema.
Assembly: System.Xml (in System.Xml.dll)
The block attribute prevents a complexType or element that has the specified type of derivation from being used in place of the inherited complexType or element. This attribute's value can either be a white space separated list of restriction, extension and substitution or the value can contain #all or a list that is a subset of extension, restriction, or substitution.
The following table lists the possible values of XmlSchemaDerivationMethod.
By default, there are no restrictions on type derivations in the schema.
Overrides the default derivation method and allows any type derivations in the schema.
By default, elements in this schema cannot be derived by Extension. Applies only to element and complex type elements.
By default, elements in this schema cannot be derived by Restriction.
By default, elements in this schema cannot be derived by Union. Applies only to simple types.
By default, elements in this schema cannot be derived by List. Applies only to simple types.
#all. By default, elements in this schema cannot be derived by any method.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.