XmlSchemaElement.Final Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
The Final
property. The default is XmlSchemaDerivationMethod.None
. Optional.
Remarks
This attribute can contain the values shown in the following table.
Enum | Description |
---|---|
None |
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 . This element cannot be derived by any derivation method. |
See also XmlSchemaElement. Substitution
, List
, and Union
derivation methods are not allowed for this property.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.