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.
Declaration
NSArchiveListResult
Methods
GetRowCount()
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.
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()
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.
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)
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.
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[])
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.
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);