Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property XmlSchemaDerivationMethod Final {
	XmlSchemaDerivationMethod get();
	void set(XmlSchemaDerivationMethod value);
}

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