Επεξεργασία

Κοινή χρήση μέσω


TimeSpan.Division Operator

Definition

Overloads

Division(TimeSpan, TimeSpan)

Returns a new Double value that's the result of dividing t1 by t2.

Division(TimeSpan, Double)

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

Division(TimeSpan, TimeSpan)

Source:
TimeSpan.cs
Source:
TimeSpan.cs
Source:
TimeSpan.cs

Returns a new Double value that's the result of dividing t1 by 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

The divident or the value to be divided.

t2
TimeSpan

The value to be divided by.

Returns

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

Applies to

Division(TimeSpan, Double)

Source:
TimeSpan.cs
Source:
TimeSpan.cs
Source:
TimeSpan.cs

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

public:
 static TimeSpan operator /(TimeSpan timeSpan, double divisor);
public static TimeSpan operator / (TimeSpan timeSpan, double divisor);
static member ( / ) : TimeSpan * double -> TimeSpan
Public Shared Operator / (timeSpan As TimeSpan, divisor As Double) As 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 divided by the value of divisor.

Applies to