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

AF SDK Reference

AFTimeSpan.IsNegative Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeSpan.IsNegative Property
Indicates if the current AFTimeSpan represents a negative span.

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

Syntax

public bool IsNegative { get; }
Public ReadOnly Property IsNegative As Boolean
	Get

Dim instance As AFTimeSpan
Dim value As Boolean

value = instance.IsNegative
public:
property bool IsNegative {
	bool get ();
}
member IsNegative : bool with get

Property Value

Type: Boolean
Returns if the current AFTimeSpan represents a negative span. Otherwise, returns .

Remarks

A AFTimeSpan determines whether or not it is negative by the sign of the most significant interval specified. For example, "+3d-30m" would represent a positive span but "-3d+30m" would represent a negative span.

Version Information

AFSDK


See Also

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