Aracılığıyla paylaş


PagesSection.ControlRenderingCompatibilityVersion Özellik

Tanım

İşlenen html'lerin uyumlu olacağı ASP.NET sürümünü belirten bir değer alır veya ayarlar.

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

Özellik Değeri

İşlenen tüm HTML'ler ile uyumlu olacak ASP.NET sürümü.

Öznitelikler

Özel durumlar

Bu özelliği nullolarak ayarlama girişiminde bulunuldu.

Açıklamalar

Bu değer, Web.config dosyasındaki pages öğesinin özniteliği tarafından controlRenderingCompatibilityVersion ayarlanır. Bu özelliğin değeri, özelliğin Control.RenderingCompatibility varsayılan değeridir. Nasıl kullanıldığı hakkında bilgi için özelliğine Control.RenderingCompatibility bakın.

Şunlara uygulanır

Ayrıca bkz.