GenericObjectMeasureInfo GenericObjectMeasureInfo GenericObjectMeasureInfo GenericObjectMeasureInfo GenericObjectMeasureInfo 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
GenericObjectMeasureInfoGenericObjectMeasureInfoGenericObjectMeasureInfoGenericObjectMeasureInfoGenericObjectMeasureInfoGenericObjectMeasureInfo

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() GenericObjectMeasureInfo() GenericObjectMeasureInfo() GenericObjectMeasureInfo() GenericObjectMeasureInfo() GenericObjectMeasureInfo()

default ctor

Properties

Average Average Average Average Average Average

The average of property values

Count Count Count Count Count Count

Keeping track of number of objects with a certain property

Maximum Maximum Maximum Maximum Maximum Maximum

The max of property values

Minimum Minimum Minimum Minimum Minimum Minimum

The min of property values

Property Property Property Property Property Property

property name

(Inherited from MeasureInfo)
Sum Sum Sum Sum Sum Sum

The sum of property values

Applies to