WebControl.HasAttributes Egenskap

Definition

Hämtar ett värde som anger om kontrollen har attribut inställda.

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

Egenskapsvärde

trueom kontrollen har angett attribut. annars . false

Attribut

Kommentarer

Egenskapen HasAttributes returnerar true när instansen WebControl har attributnamn/värdepar.

Gäller för

Se även