AFTimeSpan.Duration Method
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- Developer
Returns a new AFTimeSpan object whose value is the absolute value
of the current AFTimeSpan object.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFTimeSpan Duration()
Public Function Duration As AFTimeSpan Dim instance As AFTimeSpan Dim returnValue As AFTimeSpan returnValue = instance.Duration()
public: AFTimeSpan Duration()
member Duration : unit -> AFTimeSpan
Return Value
Type: AFTimeSpanA new object whose value is the absolute value of the current AFTimeSpan object.