Search documentationEsc

IPageQueryResult<T>

Represents a page of data from a cosmos query

Namespace: Microsoft.Azure.CosmosRepository.Paging
Kind: interface

Represents a page of data from a cosmos query

public interface IPageQueryResult<out T> : IPage<T>, IQueryResult<T> where T : IItem

Type parameters

NameDescription
T

Example

Members

Propertys

IPageQueryResult<T>.TotalPages

The total amount pages that matched the query.

int? TotalPages { get; }

ReturnsInt32}

IPageQueryResult<T>.PageNumber

The total amount items that matched the query.

int? PageNumber { get; }

ReturnsInt32}

IPageQueryResult<T>.HasNextPage

Gets a value indicating whether the are next pages.

bool? HasNextPage { get; }

ReturnsBoolean}

IPageQueryResult<T>.HasPreviousPage

Gets a value indicating whether the are previous pages.

bool HasPreviousPage { get; }

ReturnsBoolean

IPageQueryResult<T>.PreviousPageNumber

The previous page number.

int PreviousPageNumber { get; }

ReturnsInt32

IPageQueryResult<T>.NextPageNumber

The next page number.

int? NextPageNumber { get; }

ReturnsInt32}