Condividi tramite


CosmosPage<T> Struct

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).

[System.Diagnostics.CodeAnalysis.Experimental("EF9102")]
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct CosmosPage<T>
[<System.Diagnostics.CodeAnalysis.Experimental("EF9102")>]
[<System.Runtime.CompilerServices.IsReadOnly>]
type CosmosPage<'T> = struct
Public Structure CosmosPage(Of T)

Type Parameters

T

The type of values contained in the page.

Inheritance
CosmosPage<T>
Attributes

Constructors

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

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).

Properties

ContinuationToken

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

Values

The values contained in this page.

Applies to