Click or drag to resize

DurationMultiply Method

Multiplies the Duration by a constant.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public Duration Multiply(
	double constant
)

Parameters

constant
Type: SystemDouble
The constant by which to multiply the Duration.

Return Value

Type: Duration
A Duration that represents the value of this instance multiplied by the constant.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown if the result represents a value too large to be stored in a Duration.
See Also