Edit

Share via


TimeSpan.Divide Method

Definition

Overloads

Divide(Double)

Returns a new TimeSpan object whose value is the result of dividing this instance by the specified divisor.

Divide(TimeSpan)

Returns a new Double value that's the result of dividing this instance by ts.

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.

Applies to