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 |
此元素不能由 Extension 派生。 |
Restriction |
此元素不能由 Restriction 派生。 |
All |
#all。 此元素不能由任何派生方法派生。 |
另请参阅 XmlSchemaElement。
Substitution
List此属性不允许使用Union和派生方法。