Share via


MobileControlsSection.AllowCustomAttributes 属性

定义

获取或设置一个值,该值指示页是否可以具有自定义特性。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 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

属性

适用于

另请参阅