你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PageResult<T>.Create Method

Definition

Create a PageResult<T> from the provided parameters.

public static System.ClientModel.PageResult<T> Create (System.Collections.Generic.IReadOnlyList<T> values, System.ClientModel.ContinuationToken pageToken, System.ClientModel.ContinuationToken? nextPageToken, System.ClientModel.Primitives.PipelineResponse response);
static member Create : System.Collections.Generic.IReadOnlyList<'T> * System.ClientModel.ContinuationToken * System.ClientModel.ContinuationToken * System.ClientModel.Primitives.PipelineResponse -> System.ClientModel.PageResult<'T>
Public Shared Function Create (values As IReadOnlyList(Of T), pageToken As ContinuationToken, nextPageToken As ContinuationToken, response As PipelineResponse) As PageResult(Of T)

Parameters

values
IReadOnlyList<T>

The values in the PageResult<T>.

pageToken
ContinuationToken

A token that can be used to request a collection beginning with this page of values.

nextPageToken
ContinuationToken

A token that can be used to request a collection beginning with the next page of values.

response
PipelineResponse

The response that returned the values in the page.

Returns

A PageResult<T> holding the provided values.

Applies to