AFAggregateResultCollection.GetResult(TBin) Method (AFBinningRequest(TBin))
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the binned result for the specified request.
Namespace: OSIsoft.AF.Data.Aggregate
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFBinnedResult<TBin> GetResult<TBin>( AFBinningRequest<TBin> request ) where TBin : Object, IComparable<TBin>
Public Function GetResult(Of TBin As {Object, IComparable(Of TBin)}) ( request As AFBinningRequest(Of TBin) ) As AFBinnedResult(Of TBin) Dim instance As AFAggregateResultCollection Dim request As AFBinningRequest(Of TBin) Dim returnValue As AFBinnedResult(Of TBin) returnValue = instance.GetResult(request)
public: generic<typename TBin> where TBin : Object, IComparable<TBin> AFBinnedResult<TBin>^ GetResult( AFBinningRequest<TBin>^ request )
member GetResult : request : AFBinningRequest<'TBin> -> AFBinnedResult<'TBin> when 'TBin : Object and IComparable<'TBin>
Parameters
- request
- Type: OSIsoft.AF.Data.AggregateAFBinningRequestTBin
The request to locate a result for.
Type Parameters
- TBin
- The type of bins the summary is broken into.
Return Value
Type: AFBinnedResultTBinThe binned result for the specified request.