다음을 통해 공유


PagesSection.ControlRenderingCompatibilityVersion 속성

정의

렌더링된 HTML과 호환되는 ASP.NET 버전을 지정하는 값을 가져오거나 설정합니다.

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

속성 값

렌더링된 HTML과 호환되는 ASP.NET 버전입니다.

특성

예외

이 속성을 null.로 설정하려고 했습니다.

설명

이 값은 Web.config 파일에 있는 요소의 pages 특성에 의해 controlRenderingCompatibilityVersion 설정됩니다. 이 속성의 값은 속성의 기본값 Control.RenderingCompatibility 입니다. 사용 방법에 대한 자세한 내용은 속성을 참조하세요 Control.RenderingCompatibility .

적용 대상

추가 정보