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

名前と値のペアのコレクションを格納している AttributeCollection

属性

注釈

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

適用対象

こちらもご覧ください