संपादित करें

इसके माध्यम से साझा किया गया


XmlSchemaType.Final Property

Definition

Gets or sets the final attribute of the type derivation that indicates if 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

Property Value

One of the valid XmlSchemaDerivationMethod values. The default is None.

Remarks

The following table shows the values that this property can contain for simple type.

XmlSchemaDerivationMethod value Description
Empty Overrides the schema blockDefault setting allowing any derivations by restriction, extension, or substitution to take place.
None No derivation method is specified. This is the default. Derivation rules are taken from the schema blockDefault setting.
Substitution Cannot be replaced by a type derived by Substitution.
Extension Cannot be replaced by a type derived by Extension.
Restriction Cannot be replaced by a type derived by Restriction.
All #all. Cannot be replaced by a type derived by any derivation method.

The following table shows the values that this property can contain for complex type.

XmlSchemaDerivationMethod value Description
Empty Overrides the schema blockDefault setting allowing any derivations by restriction, extension, or substitution to take place.
None No derivation method is specified. This is the default. Derivation rules are taken from the schema blockDefault setting.
Substitution Cannot be replaced by a type derived by Substitution.
Extension Cannot be replaced by a type derived by Extension.
Restriction Cannot be replaced by a type derived by Restriction.
All #all. Cannot be replaced by a type derived by any derivation method.

Applies to