Share via


XmlSchemaType.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

屬性值

其中一個 XmlSchemaDerivationMethod 值。 預設為 None

備註

下表顯示此屬性可針對簡單類型包含的值。

XmlSchemaDerivationMethod 描述
Empty 覆寫架構 blockDefault 設定,允許進行限制、擴充或替代的任何衍生。
None 未指定衍生方法。 此為預設值。 衍生規則取自架構 blockDefault 設定。
Substitution 無法由替代衍生的類型取代。
Extension 無法由擴充功能衍生的類型取代。
Restriction 無法由 Restriction 衍生的類型取代。
All #all. 無法由任何衍生方法衍生的類型取代。

下表顯示此屬性可針對複雜類型包含的值。

XmlSchemaDerivationMethod 描述
Empty 覆寫架構 blockDefault 設定,允許進行限制、擴充或替代的任何衍生。
None 未指定衍生方法。 此為預設值。 衍生規則取自架構 blockDefault 設定。
Substitution 無法由替代衍生的類型取代。
Extension 無法由擴充功能衍生的類型取代。
Restriction 無法由 Restriction 衍生的類型取代。
All #all. 無法由任何衍生方法衍生的類型取代。

適用於