XmlSchemaComplexType::BlockResolved Property

 

Gets the value after the type has been compiled to the post-schema-validation information set (infoset). This value indicates how the type is enforced when xsi:type is used in the instance document.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public:
property XmlSchemaDerivationMethod BlockResolved {
	XmlSchemaDerivationMethod get();
}

Property Value

Type: System.Xml.Schema::XmlSchemaDerivationMethod

The post-schema-validated infoset value. The default is BlockDefault value on the schema element.

This value is taken either from the type itself or, if not defined at the type level, it is taken from the schema element. For example, if the value is restricted, only the specifically defined type can be used, not types derived from the specifically defined type.

This attribute can contain the following values:

Enum

Description

None

Use the derivation restriction defined by the BlockDefault property of the schema, if it exists.

Extension

This element cannot be replaced by a type derived by Extension.

Restriction

This element cannot be replaced by a type derived by Restriction.

All

#all. This element cannot be replaced by any type regardless of derivation method.

The Substitution, List, and Union derivation methods are not supported by this property.

.NET Framework
Available since 1.1
Return to top
Show: