ListItem.Attributes 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取类不直接支持的 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开始标记和结束标记中声明的属性名称和值对,但不能直接支持该类。 可以编程方式向集合添加或删除属性。