AFVersion.LatestVersion Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Gets the latest version of the owning object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFVersion LatestVersion()
Public Function LatestVersion As AFVersion Dim instance As AFVersion Dim returnValue As AFVersion returnValue = instance.LatestVersion()
public: AFVersion^ LatestVersion()
member LatestVersion : unit -> AFVersion
Return Value
Type: AFVersionReturns the latest version of the owning object.
Remarks
The latest version of the owning object is the version with the newest EffectiveDate.
This could be a time in the future.