语言

CosmosPage<T>(IReadOnlyList<T>, String) 构造函数

定义

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

参数

values
IReadOnlyList<T>

此页面中包含的值。

continuationToken
String

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

适用于