TimeSpan.Multiply Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Multiply(Double, TimeSpan) |
Returns a new TimeSpan object whose value is the result of multiplying the specified |
| Multiply(TimeSpan, Double) |
Returns a new TimeSpan object whose value is the result of multiplying the specified |
Multiply(Double, TimeSpan)
- Source:
- TimeSpan.cs
- 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
- 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.