Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CosmosPage<T> Struct

Definition

Namespace:
Microsoft.EntityFrameworkCore
Assembly:
Microsoft.EntityFrameworkCore.Cosmos.dll
Package:
Microsoft.EntityFrameworkCore.Cosmos v10.0.0
Package:
Microsoft.EntityFrameworkCore.Cosmos v9.0.0
Source:
CosmosPage.cs
Source:
CosmosPage.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct CosmosPage<T>
[<System.Diagnostics.CodeAnalysis.Experimental("EF9102")>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
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

Name Description
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

Name Description
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


Feedback

Was this page helpful?