XmlSchemaElement.Final Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 1.1
Return to top
Show: