System.Xml.Schema.XmlSchemaElement.BlockResolved Property

Gets the post-compilation value of the Block property.

Syntax

[System.Xml.Serialization.XmlIgnore]
public XmlSchemaDerivationMethod BlockResolved { get; }

Value

Documentation for this section has not yet been entered.

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.

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.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0