XmlSchema.FinalDefault Propriedade

Definição

Obtém ou define o atributo finalDefault que define o valor padrão do atributo final nos elementos e tipos complexos no namespace de destino do esquema.Gets or sets the finalDefault attribute which sets the default value of the final attribute on elements and complex types in the target namespace of the schema.

public:
 property System::Xml::Schema::XmlSchemaDerivationMethod FinalDefault { System::Xml::Schema::XmlSchemaDerivationMethod get(); void set(System::Xml::Schema::XmlSchemaDerivationMethod value); };
public System.Xml.Schema.XmlSchemaDerivationMethod FinalDefault { get; set; }
member this.FinalDefault : System.Xml.Schema.XmlSchemaDerivationMethod with get, set
Public Property FinalDefault As XmlSchemaDerivationMethod

Valor da propriedade

XmlSchemaDerivationMethod

Um XmlSchemaDerivationMethod valor que representa os métodos diferentes para impedir a derivação.An XmlSchemaDerivationMethod value representing the different methods for preventing derivation. O valor padrão é XmlSchemaDerivationMethod.None.The default value is XmlSchemaDerivationMethod.None.

Comentários

O final atributo impede o tipo especificado de derivação de um elemento ou tipo complexo.The final attribute prevents the specified type of derivation of an element or complex type. Esse valor pode conter #all ou uma lista que é um subconjunto de extensão ou restrição.This value can contain #all or a list that is a subset of extension or restriction.

A tabela a seguir lista os possíveis valores de XmlSchemaDerivationMethod .The following table lists the possible values of XmlSchemaDerivationMethod.

ValorValue DescriçãoDescription
None Por padrão, não há restrições em derivações de tipo no esquema.By default, there are no restrictions on type derivations in the schema.
Empty Substitui o método de derivação padrão e permite qualquer derivação de tipo no esquema.Overrides the default derivation method and allows any type derivations in the schema.
Extension Por padrão, os elementos neste esquema não podem ser derivados por extensão.By default, elements in this schema cannot be derived by Extension. Aplica-se somente aos elementos de tipo de elemento e complexo.Applies only to element and complex type elements.
Restriction Por padrão, os elementos neste esquema não podem ser derivados por restrição.By default, elements in this schema cannot be derived by Restriction.
Union Por padrão, os elementos neste esquema não podem ser derivados por Union.By default, elements in this schema cannot be derived by Union. Aplica-se somente a tipos simples.Applies only to simple types.
List Por padrão, os elementos neste esquema não podem ser derivados por List.By default, elements in this schema cannot be derived by List. Aplica-se somente a tipos simples.Applies only to simple types.
All #all.#all. Por padrão, os elementos nesse esquema não podem ser derivados por qualquer método.By default, elements in this schema cannot be derived by any method.

Aplica-se a