PagesSection.ControlRenderingCompatibilityVersion 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
렌더링된 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 .