Uredi

Deli z drugimi prek


XmlSchemaElement.Final Property

Definition

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