XmlSchemaElement.BlockResolved Propriedade

Definição

Obtém o valor de pós-compilação da propriedade Block.Gets the post-compilation value of the Block property.

public:
 property System::Xml::Schema::XmlSchemaDerivationMethod BlockResolved { System::Xml::Schema::XmlSchemaDerivationMethod get(); };
public System.Xml.Schema.XmlSchemaDerivationMethod BlockResolved { get; }
member this.BlockResolved : System.Xml.Schema.XmlSchemaDerivationMethod
Public ReadOnly Property BlockResolved As XmlSchemaDerivationMethod

Valor da propriedade

XmlSchemaDerivationMethod

O valor de pós-compilação da Block propriedade.The post-compilation value of the Block property. O padrão é o BlockDefault valor no schema elemento.The default is the BlockDefault value on the schema element.

Comentários

Esse valor indica como o tipo é imposto quando xsi:type é usado no documento da instância.This value indicates how the type is enforced when xsi:type is used in the instance document. Por exemplo, se o valor for restrito, somente o tipo definido específico poderá ser usado, não os tipos derivados por restrição do tipo definido específico.For example, if the value is restricted, only the specific defined type can be used, not types derived by restriction from the specific defined type.

Essa propriedade pode conter os valores mostrados na tabela a seguir.This property can contain the values shown in the following table. O padrão é None.The default is None. Os métodos de derivação List e Union não são permitidos nesta propriedade.List and union derivation methods are not allowed on this property.

EnumEnum DescriçãoDescription
Empty Não há restrições sobre as substituições deste elemento.There are no restrictions on replacements of this element.
Substitution Este elemento não pode ser substituído por um tipo derivado por substituição.This element cannot be replaced by a type derived by Substitution.
Extension Este elemento não pode ser substituído por um tipo derivado por extensão.This element cannot be replaced by a type derived by Extension.
Restriction Este elemento não pode ser substituído por um tipo derivado por restrição.This element cannot be replaced by a type derived by Restriction.
All #all.#all. Este elemento não pode ser substituído por nenhum tipo, independentemente do método de derivação.This element cannot be replaced by any type regardless of derivation method.

Aplica-se a