Export (0) Print
Expand All

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.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