TimeSpan.Division Operator

Definition

Overloads

Division(TimeSpan, TimeSpan)

Returns a new Double value which is the result of division of t1 instance and the specified t2.

Division(TimeSpan, Double)

Returns a new TimeSpan object which value is the result of division of timeSpan instance and the specified divisor.

Division(TimeSpan, TimeSpan)

Returns a new Double value which is the result of division of t1 instance and the specified t2.

public:
 static double operator /(TimeSpan t1, TimeSpan t2);
public static double operator / (TimeSpan t1, TimeSpan t2);
static member ( / ) : TimeSpan * TimeSpan -> double
Public Shared Operator / (t1 As TimeSpan, t2 As TimeSpan) As Double

Parameters

t1
TimeSpan

Divident or the value to be divided.

t2
TimeSpan

The value to be divided by.

Returns

A new value that represents result of division of t1 instance by the value of the t2.

Division(TimeSpan, Double)

Returns a new TimeSpan object which value is the result of division of timeSpan instance and the specified divisor.

public:
 static TimeSpan operator /(TimeSpan timeSpan, double divisor);
public static TimeSpan operator / (TimeSpan timeSpan, double divisor);
static member ( / ) : TimeSpan * double -> TimeSpan

Parameters

timeSpan
TimeSpan

Dividend or the value to be divided.

divisor
Double

The value to be divided by.

Returns

A new object that represents the value of timeSpan instance divided by the value of divisor.

Applies to