다음을 통해 공유


PagingParameters.NewTotalCount(UInt64, Double) Method

Definition

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).

public:
 System::Management::Automation::PSObject ^ NewTotalCount(System::UInt64 totalCount, double accuracy);
public System.Management.Automation.PSObject NewTotalCount (ulong totalCount, double accuracy);
member this.NewTotalCount : uint64 * double -> System.Management.Automation.PSObject
Public Function NewTotalCount (totalCount As ULong, accuracy As Double) As PSObject

Parameters

totalCount
UInt64

A total count of objects that the cmdlet would return without paging.

accuracy
Double

accuracy of the totalCount parameter. 1.0 means 100% accurate; 0.0 means that total count is unknown; anything in-between means that total count is estimated

Returns

An object that represents a total count of objects that the cmdlet would return without paging.

Applies to