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

AF SDK Reference

AFSummaryRequest Constructor (String, AFSummaryTypes, String)

AFSummaryRequest Constructor (String, AFSummaryTypes, String)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSummaryRequest Constructor (String, AFSummaryTypes, String)
Computes desired summaries on the specified field and weighted by the specified field.

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

Syntax

public AFSummaryRequest(
	string field,
	AFSummaryTypes summaryTypes,
	string weightField
)
Public Sub New ( 
	field As String,
	summaryTypes As AFSummaryTypes,
	weightField As String
)

Dim field As String
Dim summaryTypes As AFSummaryTypes
Dim weightField As String

Dim instance As New AFSummaryRequest(field, summaryTypes, 
	weightField)
public:
AFSummaryRequest(
	String^ field, 
	AFSummaryTypes summaryTypes, 
	String^ weightField
)
new : 
        field : string * 
        summaryTypes : AFSummaryTypes * 
        weightField : string -> AFSummaryRequest

Parameters

field
Type: SystemString
The field to summarize.
summaryTypes
Type: OSIsoft.AF.DataAFSummaryTypes
The summaries to perform.
weightField
Type: SystemString
The field to use to weight each item (e.g. "Duration" could be used to weight attribute summaries on an AFEventFrame.

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