Modifica

Condividi tramite


XmlSchemaElement.BlockResolved Property

Definition

Gets the post-compilation value of the Block property.

public:
 property System::Xml::Schema::XmlSchemaDerivationMethod BlockResolved { System::Xml::Schema::XmlSchemaDerivationMethod get(); };
public System.Xml.Schema.XmlSchemaDerivationMethod BlockResolved { get; }
member this.BlockResolved : System.Xml.Schema.XmlSchemaDerivationMethod
Public ReadOnly Property BlockResolved As XmlSchemaDerivationMethod

Property Value

The post-compilation value of the Block property. The default is the BlockDefault value on the schema element.

Remarks

This value indicates how the type is enforced when xsi:type is used in the instance document. For example, if the value is restricted, only the specific defined type can be used, not types derived by restriction from the specific defined type.

This property can contain the values shown in the following table. The default is None. List and union derivation methods are not allowed on this property.

Enum Description
Empty There are no restrictions on replacements of this element.
Substitution This element cannot be replaced by a type derived by Substitution.
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.

Applies to