WebControl.HasAttributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the control has attributes set.
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
Property Value
true
if the control has attributes set; otherwise, false
.
- Attributes
Remarks
The HasAttributes property returns true
when the WebControl instance has attribute name/value pairs.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.