Επεξεργασία

Κοινή χρήση μέσω


XmlSchemaComplexType.BlockResolved Property

Definition

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.

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-schema-validated infoset value. The default is BlockDefault value on the schema element.

Remarks

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.

Applies to