Show / Hide Table of Contents

Class NSArchiveListResult

Header/Detail variant of archive result, with a Row Count plus the actual rows. Future extensions may include other header data on the same level as the RowCount.

Syntax

Constructors

NSArchiveListResult()

Initializes a new instance of the NSArchiveListResult class.

Introduced or updated in version: 7

Declaration
NSArchiveListResult

Methods

GetRowCount()

Introduced or updated in version: 7

Declaration
Integer GetRowCount()
Returns
Type Description
Integer

Count of rows, independent of paging.

Remarks

If you order up page 1 with page size 50, the row count may still be 279, that being the number of rows that would have been returned in a paging-off situation.

Examples
NSArchiveListResult thing;
Integer rowCount = thing.GetRowCount();

GetRows()

Introduced or updated in version: 7

Declaration
NSArchiveListItem[] GetRows()
Returns
Type Description
NSArchiveListItem[]

The actual rows, according to the paging info, of the result.

Remarks

See RowCount for a paging-independent count estimate

Examples
NSArchiveListResult thing;
NSArchiveListItem[] rows = thing.GetRows();

SetRowCount(Integer)

Introduced or updated in version: 7

Declaration
Void SetRowCount(Integer rowCount)
Parameters
Type Name Description
Integer rowCount

Count of rows, independent of paging.

Returns
Type Description
Void
Remarks

If you order up page 1 with page size 50, the row count may still be 279, that being the number of rows that would have been returned in a paging-off situation

Examples
NSArchiveListResult thing;
Integer rowCount;
thing.SetRowCount(rowCount);

SetRows(NSArchiveListItem[])

Introduced or updated in version: 7

Declaration
Void SetRows(NSArchiveListItem[] rows)
Parameters
Type Name Description
NSArchiveListItem[] rows

The actual rows, according to the paging info, of the result.

Returns
Type Description
Void
Remarks

See RowCount for a paging-independent count estimate

Examples
NSArchiveListResult thing;
NSArchiveListItem[] rows;
thing.SetRows(rows);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top