SelectionList.Items 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳清單中的 MobileListItemCollection 項目集合。 預設值為空集合。 這個 API 已經過時了。 有關如何開發 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。