PagingParameters PagingParameters PagingParameters Class

Definition

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

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

Properties

First First 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 IncludeTotalCount IncludeTotalCount

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

Skip Skip 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) NewTotalCount(UInt64, Double) 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