TimeSpan.Multiply Operator
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.
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 |
- 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
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Standard | 2.1 |
- 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
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Standard | 2.1 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.