WebControl.HasAttributes Propriété

Définition

Obtient une valeur indiquant si le contrôle a des attributs définis.

public:
 property bool HasAttributes { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool HasAttributes { get; }
[<System.ComponentModel.Browsable(false)>]
member this.HasAttributes : bool
Public ReadOnly Property HasAttributes As Boolean

Valeur de propriété

Boolean

true si le contrôle a des attributs définis ; sinon, false.

Attributs

Remarques

La HasAttributes propriété retourne true lorsque l’instance WebControl a des paires nom/valeur d’attribut.

S’applique à

Voir aussi