Click or drag to resize

DurationUnaryNegation Operator

Inverts a specified Duration. For example, if the value represents a positive quantity of time, the returned Duration will be a negative quantity of time.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static Duration operator -(
	Duration value
)

Parameters

value
Type: AGI.Foundation.TimeDuration
The value to invert.

Return Value

Type: Duration
The inverted Duration.
See Also