Partager via


PagingParameters Class

Definition

The parameters for the paging support enabled by SupportsPaging. Includes: -IncludeTotalCount, -Skip [int], -First [int]

public ref class PagingParameters sealed
public sealed class PagingParameters
type PagingParameters = class
Public NotInheritable Class PagingParameters
Inheritance
PagingParameters

Properties

First

Gets or sets the value of the -First parameter for all cmdlets that support paging. If the user doesn't specify anything, the default is MaxValue.

IncludeTotalCount

Gets or sets the value of the -IncludeTotalCount parameter for all cmdlets that support paging.

Skip

Gets or sets the value of the -Skip parameter for all cmdlets that support paging. If the user doesn't specify anything, the default is 0.

Methods

NewTotalCount(UInt64, Double)

A helper method for creating an object that represents a total count of objects that the cmdlet would return without paging (this can be more than the size of the page specified in the First cmdlet parameter).

Applies to