Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XmlSchemaElement.Final Property

Gets or sets the Final property to indicate that no further derivations are allowed.

Namespace:  System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public XmlSchemaDerivationMethod Final { get; set; }

Property Value

Type: System.Xml.Schema.XmlSchemaDerivationMethod
The Final property. The default is XmlSchemaDerivationMethod.None.
Optional.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft