Pageable<T>.AsPages(String, Nullable<Int32>) Method

Definition

Enumerate the values a Page<T> at a time. This may make multiple service requests.

public abstract System.Collections.Generic.IEnumerable<Azure.Page<T>> AsPages (string? continuationToken = default, int? pageSizeHint = default);
abstract member AsPages : string * Nullable<int> -> seq<Azure.Page<'T>>
Public MustOverride Function AsPages (Optional continuationToken As String = Nothing, Optional pageSizeHint As Nullable(Of Integer) = Nothing) As IEnumerable(Of Page(Of T))

Parameters

continuationToken
String

A continuation token indicating where to resume paging or null to begin paging from the beginning.

pageSizeHint
Nullable<Int32>

The number of items per Page<T> that should be requested (from service operations that support it). It's not guaranteed that the value will be respected.

Returns

An async sequence of Page<T>s.

Applies to