SelectionList.Items 属性
定义
返回 MobileListItemCollection 列表中的项的集合。Returns the collection of items in a MobileListItemCollection list. 默认值为空集合。The default value is an empty collection. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
property System::Web::UI::MobileControls::MobileListItemCollection ^ Items { System::Web::UI::MobileControls::MobileListItemCollection ^ get(); };
[System.ComponentModel.Bindable(false)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerDefaultProperty)]
public System.Web.UI.MobileControls.MobileListItemCollection Items { get; }
[<System.ComponentModel.Bindable(false)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerDefaultProperty)>]
member this.Items : System.Web.UI.MobileControls.MobileListItemCollection
Public ReadOnly Property Items As MobileListItemCollection
属性值
选择列表中的项的集合。The collection of items in the selection list.
- 属性
注解
您可以 SelectionList 通过使用 Add 类的、和方法,在集合中添加或移除项 Remove RemoveAt MobileListItemCollection 。You can add or remove items from a SelectionList collection by using the Add, Remove, and RemoveAt methods of the MobileListItemCollection class.