PagerStyle.GetPageLabelText(Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個格式化的字串,代表用來導覽下一頁的 UI 元素。 這個 API 已經過時了。 有關如何開發 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 元素,用來導航到下一頁。
備註
使用 屬性及一基位當前頁面索引來格式化字串。 由表單轉接器使用。