TimeSpan.Divide Method
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
Divide(Double) |
Returns a new TimeSpan object whose value is the result of dividing this instance by the specified |
Divide(TimeSpan) |
Returns a new Double value that's the result of dividing this instance by |
Divide(Double)
- Source:
- TimeSpan.cs
- Source:
- TimeSpan.cs
- Source:
- TimeSpan.cs
Returns a new TimeSpan object whose value is the result of dividing this instance by the specified divisor
.
public:
TimeSpan Divide(double divisor);
public TimeSpan Divide (double divisor);
member this.Divide : double -> TimeSpan
Public Function Divide (divisor As Double) As TimeSpan
Parameters
- divisor
- Double
The value to be divided by.
Returns
A new object that represents the value of this instance divided by the value of divisor
.
Applies to
Divide(TimeSpan)
- Source:
- TimeSpan.cs
- Source:
- TimeSpan.cs
- Source:
- TimeSpan.cs
Returns a new Double value that's the result of dividing this instance by ts
.
public:
double Divide(TimeSpan ts);
public double Divide (TimeSpan ts);
member this.Divide : TimeSpan -> double
Public Function Divide (ts As TimeSpan) As Double
Parameters
- ts
- TimeSpan
The value to be divided by.
Returns
A new value that represents result of dividing this instance by the value of ts
.