XmlSchemaElement.Final 屬性

定義

取得或設定 Final 屬性,表示不允許進一步推導。

public:
 property System::Xml::Schema::XmlSchemaDerivationMethod Final { System::Xml::Schema::XmlSchemaDerivationMethod get(); void set(System::Xml::Schema::XmlSchemaDerivationMethod value); };
public System.Xml.Schema.XmlSchemaDerivationMethod Final { get; set; }
member this.Final : System.Xml.Schema.XmlSchemaDerivationMethod with get, set
Public Property Final As XmlSchemaDerivationMethod

屬性值

Final 屬性。 預設值為 XmlSchemaDerivationMethod.None。 Optional.

備註

此屬性可包含下表所示的數值。

Enum Description
None 如果存在,請使用由 FinalDefault 結構特性所定義的推導限制。
Empty 此元素的推導無限制。
Extension 此元素無法透過擴展推導。
Restriction 此元素無法由限制推導。
All #all。 此元素無法透過任何推導方法推導。

請參閱 XmlSchemaElementSubstitution, , ListUnion 且此性質不允許推導方法。

適用於