Search documentationEsc

PageQueryResult<T>

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type

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

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class PageQueryResult<T> : Page<T>, IPageQueryResult<T>, IPage<T>, IQueryResult<T> where T : IItem

Type parameters

NameDescription
T

Example

Members

Propertys

PageQueryResult<T>.TotalPages

The total amount pages that matched the query.

public int? TotalPages { get; }

ReturnsInt32}

PageQueryResult<T>.PageNumber

The total amount items that matched the query.

public int? PageNumber { get; }

ReturnsInt32}

PageQueryResult<T>.HasPreviousPage

Gets a value indicating whether the are previous pages.

public bool HasPreviousPage { get; }

ReturnsBoolean

PageQueryResult<T>.HasNextPage

Gets a value indicating whether the are next pages.

public bool? HasNextPage { get; }

ReturnsBoolean}

PageQueryResult<T>.PreviousPageNumber

The previous page number.

public int PreviousPageNumber { get; }

ReturnsInt32

PageQueryResult<T>.NextPageNumber

The next page number.

public int? NextPageNumber { get; }

ReturnsInt32}