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

AF SDK Reference

AFTimeRange.Span Property

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFTimeRange.Span Property
The amount of time between the start and end times.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public TimeSpan Span { get; }
Public ReadOnly Property Span As TimeSpan
	Get

Dim instance As AFTimeRange
Dim value As TimeSpan

value = instance.Span
public:
property TimeSpan Span {
	TimeSpan get ();
}
member Span : TimeSpan with get

Property Value

Type: TimeSpan
The amount of time between the start and end times.

Version Information

AFSDK


See Also

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