This documentation is archived and is not being maintained.

XmlSchemaType.Final Property

Gets or sets the final attribute of the type derivation that indicates if 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
One of the valid XmlSchemaDerivationMethod values. The default is None.

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: