Compartir vía


PagesSection.ControlRenderingCompatibilityVersion Propiedad

Definición

Obtiene o establece un valor que especifica la versión de ASP.NET compatible con cualquier elemento HTML representado.

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 propiedad

Version

Versión de ASP.NET compatible con cualquier elemento HTML representado.

Atributos

Excepciones

Se intentó establecer esta propiedad en null.

Comentarios

Este valor lo establece el controlRenderingCompatibilityVersion atributo del pages elemento en el archivo Web.config. El valor de esta propiedad es el valor predeterminado de la Control.RenderingCompatibility propiedad . Para obtener información sobre cómo se usa, vea la Control.RenderingCompatibility propiedad .

Se aplica a

Consulte también