GenericObjectMeasureInfo Class

Definition

Class output by Measure-Object.

public ref class GenericObjectMeasureInfo sealed : Microsoft::PowerShell::Commands::MeasureInfo
public ref class GenericObjectMeasureInfo sealed : Microsoft::PowerShell::Commands::MeasureInfo
class GenericObjectMeasureInfo sealed : Microsoft::PowerShell::Commands::MeasureInfo
public sealed class GenericObjectMeasureInfo : Microsoft.PowerShell.Commands.MeasureInfo
type GenericObjectMeasureInfo = class
    inherit MeasureInfo
Public NotInheritable Class GenericObjectMeasureInfo
Inherits MeasureInfo
Inheritance
GenericObjectMeasureInfo

Remarks

This class is created for fixing "Measure-Object -MAX -MIN should work with ANYTHING that supports CompareTo"

bug (Win8:343911).

GenericMeasureInfo class is shipped with PowerShell V2. Fixing this bug requires, changing the type of

Maximum and Minimum properties which would be a breaking change. Hence created a new class to not

have an appcompat issues with PS V2.

Constructors

GenericObjectMeasureInfo()

default ctor

Properties

Average

The average of property values

Count

Keeping track of number of objects with a certain property

Maximum

The max of property values

Minimum

The min of property values

Property

property name

(Inherited from MeasureInfo)
StandardDeviation
Sum

The sum of property values

Applies to