PagesSection.ControlRenderingCompatibilityVersion Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Recebe ou define um valor que especifica a versão ASP.NET com a qual qualquer HTML renderizado será compatível.
public:
property Version ^ ControlRenderingCompatibilityVersion { Version ^ get(); void set(Version ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Web.Configuration.VersionConverter))]
[System.Configuration.ConfigurationProperty("controlRenderingCompatibilityVersion", DefaultValue="4.0")]
[System.Configuration.ConfigurationValidator(typeof(System.Web.Configuration.VersionValidator))]
public Version ControlRenderingCompatibilityVersion { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Web.Configuration.VersionConverter))>]
[<System.Configuration.ConfigurationProperty("controlRenderingCompatibilityVersion", DefaultValue="4.0")>]
[<System.Configuration.ConfigurationValidator(typeof(System.Web.Configuration.VersionValidator))>]
member this.ControlRenderingCompatibilityVersion : Version with get, set
Public Property ControlRenderingCompatibilityVersion As Version
Valor de Propriedade
A versão ASP.NET com a qual qualquer HTML renderizado será compatível.
- Atributos
Exceções
Foi feita uma tentativa de definir esta propriedade como null.
Observações
Este valor é definido pelo controlRenderingCompatibilityVersion atributo do pages elemento no ficheiro Web.config. O valor desta propriedade é o valor padrão da Control.RenderingCompatibility propriedade. Para informações sobre como é utilizado, consulte a propriedade Control.RenderingCompatibility .