Bewerken

Share via


TimeSpan.Multiply Operator

Definition

Overloads

Multiply(Double, TimeSpan)

Returns a new TimeSpan object whose value is the result of multiplying the specified factor and the specified timeSpan instance.

Multiply(TimeSpan, Double)

Returns a new TimeSpan object whose value is the result of multiplying the specified timeSpan instance and the specified factor.

Multiply(Double, TimeSpan)

Source:
TimeSpan.cs
Source:
TimeSpan.cs
Source:
TimeSpan.cs

Returns a new TimeSpan object whose value is the result of multiplying the specified factor and the specified timeSpan instance.

public:
 static TimeSpan operator *(double factor, TimeSpan timeSpan);
public static TimeSpan operator * (double factor, TimeSpan timeSpan);
static member ( * ) : double * TimeSpan -> TimeSpan
Public Shared Operator * (factor As Double, timeSpan As TimeSpan) As TimeSpan

Parameters

factor
Double

The value to be multiplied by.

timeSpan
TimeSpan

The value to be multiplied.

Returns

A new object that represents the value of the specified factor multiplied by the value of the specified timeSpan instance.

Applies to

Multiply(TimeSpan, Double)

Source:
TimeSpan.cs
Source:
TimeSpan.cs
Source:
TimeSpan.cs

Returns a new TimeSpan object whose value is the result of multiplying the specified timeSpan instance and the specified factor.

public:
 static TimeSpan operator *(TimeSpan timeSpan, double factor);
public static TimeSpan operator * (TimeSpan timeSpan, double factor);
static member ( * ) : TimeSpan * double -> TimeSpan
Public Shared Operator * (timeSpan As TimeSpan, factor As Double) As TimeSpan

Parameters

timeSpan
TimeSpan

The value to be multiplied.

factor
Double

The value to be multiplied by.

Returns

A new object that represents the value of the specified timeSpan instance multiplied by the value of the specified factor.

Applies to