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

AF SDK Reference

AFCase Constructor (AFAnalysis, AFTime, AFTime)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCase Constructor (AFAnalysis, AFTime, AFTime)
Initializes a new instance of an AFCase with the specified start and end times.

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

Syntax

public AFCase(
	AFAnalysis analysis,
	AFTime startTime,
	AFTime endTime
)
Public Sub New ( 
	analysis As AFAnalysis,
	startTime As AFTime,
	endTime As AFTime
)

Dim analysis As AFAnalysis
Dim startTime As AFTime
Dim endTime As AFTime

Dim instance As New AFCase(analysis, 
	startTime, endTime)
public:
AFCase(
	AFAnalysis^ analysis, 
	AFTime startTime, 
	AFTime endTime
)
new : 
        analysis : AFAnalysis * 
        startTime : AFTime * 
        endTime : AFTime -> AFCase

Parameters

analysis
Type: OSIsoft.AF.AnalysisAFAnalysis
The new AFCase is added to the specified AFAnalysis.
startTime
Type: OSIsoft.AF.TimeAFTime
The starting time for the case.
endTime
Type: OSIsoft.AF.TimeAFTime
The ending time for the case.

Remarks

The new AFCase is automatically added to the specified analysis. The case's StartTime and EndTime are initialized by the specified startTime and endTime parameters.

Version Information

AFSDK


See Also

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