Public Function LoadPageByIndex(Of T As {Class, New})( _ ByVal indexName As String, _ ByVal pageNumber As Integer, _ ByVal pageSize As Integer, _ ByVal ascending As Boolean _ ) As List(Of T)
Dim instance As NinjaDbPro Dim indexName As String Dim pageNumber As Integer Dim pageSize As Integer Dim ascending As Boolean Dim value As List(Of T) value = instance.LoadPageByIndex(Of T)(indexName, pageNumber, pageSize, ascending)
Parameters
- indexName
- The name of the index
- pageNumber
- The page number starting at 1
- pageSize
- The number of items to return per page
- ascending
- If true it is sorted in ascending order
Type Parameters
- T
Return Value
A list of items