Search documentationEsc

Page<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 Page<T> : IPage<T>, IQueryResult<T> where T : IItem

Type parameters

NameDescription
T

Example

Members

Propertys

Page<T>.Total

The total amount items that matched the query.

public int? Total { get; }

ReturnsInt32}

Page<T>.Size

The size of the current page.

public int Size { get; }

ReturnsInt32

Page<T>.Items

The items that are in the current page.

public IReadOnlyList<T> Items { get; }

ReturnsIReadOnlyList{{T}}

Page<T>.Charge

The amount of RU’s the given query cost.

public double Charge { get; }

ReturnsDouble

Page<T>.Continuation

The continuation token used to load results from a stateless marker.

public string? Continuation { get; }

ReturnsString

This is provided by cosmos DB.