AFTimeSpan.Duration Method
- Last UpdatedJan 12, 2026
- 1 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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.