XmlSchemaElement.Final 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 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。 選擇性。
備註
這個屬性可以包含下表中顯示的值。
| 例舉 | 描述 |
|---|---|
None |
如果有,請使用架構的 屬性所 FinalDefault 定義的衍生限制。 |
Empty |
此元素的衍生沒有任何限制。 |
Extension |
此元素無法由 Extension 衍生。 |
Restriction |
此元素無法由 Restriction 衍生。 |
All |
#all. 這個元素無法由任何衍生方法衍生。 |
另請參閱 XmlSchemaElement。 Substitution這個屬性不允許使用 、 List 和 Union 衍生方法。