AFVersion.LatestVersion Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the latest version of the owning object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.