MobileControlsSection.AllowCustomAttributes 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示页面是否可以具有自定义属性。 此 API 已过时。 有关如何开发 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.
- 属性