AFCase Constructor (AFAnalysis, AFTime)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Initializes a new instance of an AFCase with the specified start time.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFCase( AFAnalysis analysis, AFTime startTime )
Public Sub New ( analysis As AFAnalysis, startTime As AFTime ) Dim analysis As AFAnalysis Dim startTime As AFTime Dim instance As New AFCase(analysis, startTime)
public: AFCase( AFAnalysis^ analysis, AFTime startTime )
new : analysis : AFAnalysis * startTime : 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.
Remarks
The new AFCase is automatically added to the specified analysis.
The case's StartTime is initialized by the specified
startTime.