MobileControlsSection.AllowCustomAttributes 属性

定义

获取或设置一个值,该值指示页面是否可以具有自定义属性。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 property bool AllowCustomAttributes { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("allowCustomAttributes", DefaultValue=false)]
public bool AllowCustomAttributes { get; set; }
[<System.Configuration.ConfigurationProperty("allowCustomAttributes", DefaultValue=false)>]
member this.AllowCustomAttributes : bool with get, set
Public Property AllowCustomAttributes As Boolean

属性值

true 如果允许页面具有自定义属性,则为否则,为 false.

属性

适用于

另请参阅