AFBinningRequest(TBin) Constructor (String, IEnumerable(TBin))
- 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 )
Public Sub New ( field As String, bins As IEnumerable(Of TBin) ) Dim field As String Dim bins As IEnumerable(Of TBin) Dim instance As New AFBinningRequest(field, bins)
public: AFBinningRequest( String^ field, IEnumerable<TBin>^ bins )
new : field : string * bins : IEnumerable<'TBin> -> 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.