Note

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

Access to this page requires authorization. You can try .

Pageable<T> Class

Definition

Namespace:
Azure
Assembly:
Azure.Core.dll
Package:
Azure.Core v1.58.0
Source:
Pageable.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 collection of values that may take multiple service requests to iterate over.

public abstract class Pageable<T> : System.Collections.Generic.IEnumerable<T>
type Pageable<'T> = class
 interface seq<'T>
 interface IEnumerable
Public MustInherit Class Pageable(Of T)
Implements IEnumerable(Of T)

Type Parameters

T

The type of the values.

Inheritance
Pageable<T>
Implements

Constructors

Name Description
Pageable<T>()

Initializes a new instance of the Pageable<T> class for mocking.

Pageable<T>(CancellationToken)

Initializes a new instance of the Pageable<T> class.

Properties

Name Description
CancellationToken

Gets a CancellationToken used for requests made while enumerating asynchronously.

Methods

Name Description
AsPages(String, Nullable<Int32>)

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

FromPages(IEnumerable<Page<T>>)

Creates an instance of Pageable<T> using the provided pages.

GetEnumerator()

Enumerate the values in the collection. This may make multiple service requests.

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to


Feedback

Was this page helpful?