PagerStyle.GetPageLabelText(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a formatted string for the UI element used to navigate to the next page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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
Parameters
- currentPageIndex
- Int32
The current page index.
- pageCount
- Int32
The page count.
Returns
A formatted string for the UI element used to navigate to the next page.
Remarks
Uses the property and the one-based current page index passed in to format the string. Used by form adapters.