語言

PagerStyle.GetPageLabelText(Int32, Int32) 方法

定義

回傳一個格式化的字串,代表用來導覽下一頁的 UI 元素。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 System::String ^ GetPageLabelText(int currentPageIndex, int pageCount);
public string GetPageLabelText(int currentPageIndex, int pageCount);
member this.GetPageLabelText : int * int -> string
Public Function GetPageLabelText (currentPageIndex As Integer, pageCount As Integer) As String

參數

currentPageIndex
Int32

目前的頁面索引。

pageCount
Int32

頁數。

傳回

一個格式化的字串用於 UI 元素,用來導航到下一頁。

備註

使用 屬性及一基位當前頁面索引來格式化字串。 由表單轉接器使用。

適用於

另請參閱