语言

CosmosPage<T> 结构

定义

从用户查询返回的单个结果页;可用于对长结果集进行分页。 返回者 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)

类型参数

T

页面中包含的值的类型。

继承
CosmosPage<T>
特性

构造函数

名称 说明
CosmosPage<T>(IReadOnlyList<T>, String)

从用户查询返回的单个结果页;可用于对长结果集进行分页。 返回者 ToPageAsync<TSource>(IQueryable<TSource>, Int32, String, Nullable<Int32>, CancellationToken)。

属性

名称 说明
ContinuationToken

用于从查询中提取进一步结果的延续标记。 如果没有更多结果,则为 null 或为空。

Values

此页面中包含的值。

适用于