語言

ItemPager.ItemCount 屬性

定義

會顯示目前頁面上可見的物品數量。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 property int ItemCount { int get(); };
public int ItemCount { get; }
member this.ItemCount : int
Public ReadOnly Property ItemCount As Integer

屬性值

目前頁面上可見的項目數量。

備註

ASP.NET 支援內部分頁的行動控制器也提供一種稱為自訂分頁的功能。 通常,這類控制系統要求你提供他們能顯示的所有資料。 開發商會指定物業清單 ItemCount 中項目的總數。 屬性 ItemsPerPage 指定控制項每頁顯示多少項目。

適用於

另請參閱