Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTimeSpan.Duration Method

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFTimeSpan.Duration Method
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: AFTimeSpan
A new object whose value is the absolute value of the current AFTimeSpan object.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in