Share via


CollectionPage<T> Class

Definition

A page of results from a collection.

public class CollectionPage<T> : Microsoft.Graph.ICollectionPage<T>, System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T>
type CollectionPage<'T> = class
    interface ICollectionPage<'T>
    interface IList<'T>
    interface ICollection<'T>
    interface seq<'T>
    interface IEnumerable
Public Class CollectionPage(Of T)
Implements ICollection(Of T), ICollectionPage(Of T), IEnumerable(Of T), IList(Of T)

Type Parameters

T

The type of the item contained within the collection.

Inheritance
CollectionPage<T>
Implements

Constructors

CollectionPage<T>()

Creates the collection page.

CollectionPage<T>(IList<T>)

Creates the collection page.

Properties

AdditionalData

The additional data property bag.

Count

Gets the number of elements in the current page.

CurrentPage

The current page.

IsReadOnly

Determines whether the current page is readonly.

Item[Int32]

Access the item at the given index.

Methods

Add(T)

Add an item to the current page.

Clear()

Remove all items from the current page.

Contains(T)

Determine whether the current page contains the given item.

CopyTo(T[], Int32)

Copies the elements of the current page to the given array starting at the given index.

GetEnumerator()

Returns an enumerator that iterates through the current page.

IndexOf(T)

Get the index of an item in the current page.

Insert(Int32, T)

Insert an item into the current page.

Remove(T)

Removes an item from the current page.

RemoveAt(Int32)

Remove the item at the given index.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to