XmlSchemaElement.Final 属性
定义
获取或设置 Final 属性以指示不允许进一步派生。Gets or sets the Final property to indicate that no further derivations are allowed.
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 属性。The Final property. 默认值为 XmlSchemaDerivationMethod.None。The default is XmlSchemaDerivationMethod.None. 可选。Optional.
注解
此属性可以包含下表中显示的值。This attribute can contain the values shown in the following table.
| 枚举Enum | 说明Description |
|---|---|
None |
使用架构的属性定义的派生限制 FinalDefault (如果存在)。Use the derivation restriction defined by the FinalDefault property of the schema, if it exists. |
Empty |
此元素的派生没有限制。There are no restrictions on derivations of this element. |
Extension |
此元素不能通过扩展派生。This element cannot be derived by Extension. |
Restriction |
此元素不能通过限制派生。This element cannot be derived by Restriction. |
All |
#all.#all. 此元素不能由任何派生方法派生。This element cannot be derived by any derivation method. |
另请参阅 XmlSchemaElement。See also XmlSchemaElement. Substitution``List Union 此属性不允许使用、和派生方法。Substitution, List, and Union derivation methods are not allowed for this property.