This topic has not yet been rated - Rate this topic

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 */
public XmlSchemaDerivationMethod get_Final ()

/** @property */
public void set_Final (XmlSchemaDerivationMethod value)

public function get Final () : XmlSchemaDerivationMethod

public function set Final (value : XmlSchemaDerivationMethod)

Property Value

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.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.