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

AF SDK Reference

AFCase.PreviousCase Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCase.PreviousCase Property
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: AFCase
Returns 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.

Version Information

AFSDK


See Also

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