XmlSchemaType.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 數值 Description
Empty 覆蓋結構 blockDefault 設定,允許透過限制、擴展或替換進行任何推導。
None 未指定推導方法。 此為預設值。 推導規則取自 schema blockDefault 設定。
Substitution 無法被由替換導出的型別取代。
Extension 無法被 Extension 導出的型別取代。
Restriction 無法被由限制導出的型別取代。
All #all。 無法被任何推導方法導出的型別取代。

下表顯示此屬性對複數型態可包含的值。

XmlSchemaDerivationMethod 數值 Description
Empty 覆蓋結構 blockDefault 設定,允許透過限制、擴展或替換進行任何推導。
None 未指定推導方法。 此為預設值。 推導規則取自結構 blockDefault 設定。
Substitution 無法被由替換導出的型別取代。
Extension 無法被 Extension 導出的型別取代。
Restriction 無法被由限制導出的型別取代。
All #all。 無法被任何推導方法導出的型別取代。

適用於