XmlSchemaType.Final 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置类型派生的最终属性,该属性指示是否允许进一步派生。
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 | 未指定派生方法。 这是默认值。 派生规则取自架构块Default 设置。 |
| Substitution | 不能由替换派生的类型替换。 |
| Extension | 不能替换为由扩展派生的类型。 |
| Restriction | 不能替换为由 Restriction 派生的类型。 |
| All |
#all。 不能由任何派生方法派生的类型替换。 |
下表显示了此属性可为复杂类型包含的值。
| XmlSchemaDerivationMethod 值 | Description |
|---|---|
| Empty | 重写允许通过限制、扩展或替换进行的任何派生的架构 blockDefault 设置。 |
| None | 未指定派生方法。 这是默认值。 派生规则取自架构 blockDefault 设置。 |
| Substitution | 不能由替换派生的类型替换。 |
| Extension | 不能替换为由扩展派生的类型。 |
| Restriction | 不能替换为由 Restriction 派生的类型。 |
| All |
#all。 不能由任何派生方法派生的类型替换。 |