語言

SelectionList.Items 屬性

定義

回傳清單中的 MobileListItemCollection 項目集合。 預設值為空集合。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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

屬性值

選擇清單中的物品集合。

屬性

備註

你可以透過類別SelectionList的 Add 、 Remove和 RemoveAt 方法,從集合中新增或移除項目MobileListItemCollection。

適用於

另請參閱