Share via


MobileControlsSection.AllowCustomAttributes Propriété

Définition

Obtient ou définit une valeur indiquant si les pages peuvent avoir des attributs personnalisés. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Applications mobiles & Sites avec 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

Valeur de propriété

true si les pages sont autorisées à avoir des attributs personnalisés ; sinon, false.

Attributs

S’applique à

Voir aussi