DataHelperGetTopNForPage Method |
Note: This API is now obsolete.
Gets the TOPN value to be able to get the specific page out of the paged results with old paging (through TOPN only).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax [ObsoleteAttribute("Use custom logic instead.")]
public static int GetTopNForPage(
int topN,
int offset,
int maxRecords
)
Parameters
- topN
- Type: SystemInt32
Top N records - offset
- Type: SystemInt32
Index of first record to get - maxRecords
- Type: SystemInt32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
Return Value
Type:
Int32See Also