AFTimeSpan.Negate Method
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- Developer
Returns a AFTimeSpan whose value is the negated value of this instance.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFTimeSpan Negate()
Public Function Negate As AFTimeSpan Dim instance As AFTimeSpan Dim returnValue As AFTimeSpan returnValue = instance.Negate()
public: AFTimeSpan Negate()
member Negate : unit -> AFTimeSpan
Return Value
Type: AFTimeSpanThe same numeric value as this instance, but with the opposite sign.