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 プロパティを参照してください。