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

プロパティ値

Version

表示された HTML と互換性がある ASP.NET のバージョン。

属性

例外

このプロパティを null に設定しようとしました。

注釈

この値は、Web.config ファイル内のpages要素の属性によってcontrolRenderingCompatibilityVersion設定されます。 このプロパティの値は、プロパティの既定値 Control.RenderingCompatibility です。 使用方法については、プロパティを Control.RenderingCompatibility 参照してください。

適用対象

こちらもご覧ください