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。 Optional.
備註
此屬性可包含下表所示的數值。
| Enum | Description |
|---|---|
None |
如果存在,請使用由 FinalDefault 結構特性所定義的推導限制。 |
Empty |
此元素的推導無限制。 |
Extension |
此元素無法透過擴展推導。 |
Restriction |
此元素無法由限制推導。 |
All |
#all。 此元素無法透過任何推導方法推導。 |
請參閱 XmlSchemaElement。
Substitution, , List, Union 且此性質不允許推導方法。