Share via


MobileControlsSection.AllowCustomAttributes 屬性

定義

取得或設定值,指出頁面是否有自訂屬性。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

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

屬性

適用於

另請參閱