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 屬性 HasAttributes 會傳 true 回 。

適用於

另請參閱