GenericObjectMeasureInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Remarks
This class is created to make 'Measure-Object -MAX -MIN' work with ANYTHING that supports 'CompareTo'. 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() |
Initializes a new instance of the GenericObjectMeasureInfo class. 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 |
The Standard Deviation of property values. |
Sum |
The sum of property values. |