語言

ItemPager.ItemIndex 屬性

定義

取得當前頁面第一個可見項目的索引。 如果沒有顯示任何物品,則回傳 -1 的值。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

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

屬性值

這是當前頁面上第一個可見項目的索引。

適用於

另請參閱