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

AF SDK Reference

AFBinningRequest(TBin) Constructor (String, IEnumerable(TBin), UOM)

AFBinningRequest(TBin) Constructor (String, IEnumerable(TBin), UOM)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFBinningRequest(TBin) Constructor (String, IEnumerable(TBin), UOM)
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.

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

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