Share via


CosmosPage<T>(IReadOnlyList<T>, String) Constructor

Definition

A single page of results returned from a user query; can be used to paginate through long result-sets. Returned by ToPageAsync<TSource>(IQueryable<TSource>, Int32, String, Nullable<Int32>, CancellationToken).

public CosmosPage (System.Collections.Generic.IReadOnlyList<T> values, string? continuationToken);
new Microsoft.EntityFrameworkCore.CosmosPage<'T> : System.Collections.Generic.IReadOnlyList<'T> * string -> Microsoft.EntityFrameworkCore.CosmosPage<'T>
Public Sub New (values As IReadOnlyList(Of T), continuationToken As String)

Parameters

values
IReadOnlyList<T>

The values contained in this page.

continuationToken
String

The continuation token for fetching further results from the query. Is null or empty when there are no more results.

Applies to