XmlSchemaComplexType.BlockResolved Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈