AFVersion.PreviousVersion Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the previous version of the owning object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFVersion PreviousVersion()
Public Function PreviousVersion As AFVersion Dim instance As AFVersion Dim returnValue As AFVersion returnValue = instance.PreviousVersion()
public: AFVersion^ PreviousVersion()
member PreviousVersion : unit -> AFVersion
Return Value
Type: AFVersionReturns the previous version of the owning object. If the owner object is the oldest version, then a is returned.
Remarks
The previous version of the owning object is the next older version than the
owner's version.