AFBinningRequest(TBin) Constructor (String, IEnumerable(TBin), UOM)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Creates a histogram request on the specified field and using the specified bins.
Namespace: OSIsoft.AF.Data.Aggregate
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFBinningRequest( string field, IEnumerable<TBin> bins, UOM binUOM )
Public Sub New ( field As String, bins As IEnumerable(Of TBin), binUOM As UOM ) Dim field As String Dim bins As IEnumerable(Of TBin) Dim binUOM As UOM Dim instance As New AFBinningRequest(field, bins, binUOM)
public: AFBinningRequest( String^ field, IEnumerable<TBin>^ bins, UOM^ binUOM )
new : field : string * bins : IEnumerable<'TBin> * binUOM : UOM -> AFBinningRequest
Parameters
- field
- Type: SystemString
The field whose value should be used to assign a bin. - bins
- Type: System.Collections.GenericIEnumerableTBin
The bins that each objects field should be sorted into. Values are assigned to the first bin that is not larger than the field value. - binUOM
- Type: OSIsoft.AF.UnitsOfMeasureUOM
The unit of measure associated with bin values.