AFCase.PreviousCase Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property returns the previous case to the current case used during the analysis.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFCase PreviousCase { get; set; }
Public Property PreviousCase As AFCase Get Set Dim instance As AFCase Dim value As AFCase value = instance.PreviousCase instance.PreviousCase = value
public: property AFCase^ PreviousCase { AFCase^ get (); void set (AFCase^ value); }
member PreviousCase : AFCase with get, set
Property Value
Type: AFCaseReturns the previous case to the current case used during the analysis. This value will be if a previous case does not exist.
Remarks
This value is automatically set when the case is created to the case within the model
analysis with the latest start time. When a case is created, its list of layers is
copied from the previous case's list. Changing this value after creation will not
affect the list of layers.