WebControl.HasAttributes 属性

定义

获取一个值,该值指示控件是否具有特性集。

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

属性值

Boolean

如果控件有特性集,则为 true;否则为 false

属性

注解

当实例具有属性名称/值对时WebControl,属性HasAttributestrue返回。

适用于

另请参阅