Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFGroupedResult(TGroup) Class

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFGroupedResult(TGroup) Class
The result of a histogram aggregate.

Inheritance Hierarchy

SystemObject
  OSIsoft.AF.Data.AggregateAFAggregateResult
    OSIsoft.AF.Data.AggregateAFGroupedResultTGroup

Namespace:  OSIsoft.AF.Data.Aggregate
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public sealed class AFGroupedResult<TGroup> : AFAggregateResult
Public NotInheritable Class AFGroupedResult(Of TGroup)
	Inherits AFAggregateResult

Dim instance As AFGroupedResult(Of TGroup)
generic<typename TGroup>
public ref class AFGroupedResult sealed : public AFAggregateResult
[<SealedAttribute>]
type AFGroupedResult<'TGroup> =  
    class
        inherit AFAggregateResult
    end

Type Parameters

TGroup
The type to convert the field values to and group by.

The AFGroupedResultTGroup type exposes the following members.

Properties

  NameDescription
Public property
Error
If the aggregate could not be computed, the error property will be set
(Inherited from AFAggregateResult.)
Public property
GroupedResults
The results keyed by the group and containing the requested summaries in a dictionary. If a summary request was specified, value dictionaries will hold the count for each group.
Public property
InvalidCount
The weighted value of all bins whose field value was invalid.
Public property
OutOfRangeCount
The weighted value of all items that fell below the lowest bin. Since field values are assigned the largest bin not greater than the value, any field value beyond the largest bin is assigned to the last bin.
Public property
Request
The aggregation request that this result was generated for.
(Inherited from AFAggregateResult.)
Public property
Results
An enumerable suitable for serialization or display in the UI. The Values could be another IEnumerable{KeyValuePair{object, object}}
(Inherited from AFAggregateResult.)

Methods

  NameDescription
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
ToString
Returns a string that represents the current object.
(Inherited from Object.)

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9

See Also

TitleResults for “How to create a CRG?”Also Available in