Duration.Multiply Operator (Duration, double)Duration.Multiply Operator (Duration, Double)Duration::Multiply Operator (Duration, double)

Multiplies the specified DurationDurationDuration value by a doubleDoubledouble value.

Syntax

Public Shared Operator *( _
    duration As Duration, _
    value As Double _
) As Duration
public static Duration operator *(
    Duration duration,
    double value
)
public:
static Duration operator *(
    Duration duration, 
    double value
)
 

Return Value

Type: XmlPrime.DurationXmlPrime.DurationXmlPrime::Duration

The DurationDurationDuration result of multiplying duration by value.

Exceptions

ExceptionCondition
OverflowExceptionOverflowExceptionOverflowException The return value would be less than MinValueMinValueMinValue or greater than MaxValueMaxValueMaxValue.