ListItem.Attributes プロパティ

定義

クラスで直接サポートされていない ListItem の属性名と値のペアのコレクションを取得します。

public:
 property System::Web::UI::AttributeCollection ^ Attributes { System::Web::UI::AttributeCollection ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Web.UI.AttributeCollection Attributes { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Attributes : System.Web.UI.AttributeCollection
Public ReadOnly Property Attributes As AttributeCollection

プロパティ値

名前と値のペアのコレクションを含む AttributeCollection

属性

注釈

Attributes コレクションを使用して、ListItemの開始タグと終了タグで宣言されている属性名と値のペアを管理しますが、クラスで直接サポートされていません。 プログラムを使用して、コレクションに属性を追加または削除できます。

適用対象

こちらもご覧ください