TimeSpan.Divide 方法

定義

多載

Divide(TimeSpan)

傳回新的 Double 值,其為此執行個體與指定 ts 相除後的結果。Returns a new Double value which is the result of division of this instance and the specified ts.

Divide(Double)

傳回新的 TimeSpan 物件,其值為此執行個體與指定 divisor 相除後的結果。Returns a new TimeSpan object which value is the result of division of this instance and the specified divisor.

Divide(TimeSpan)

傳回新的 Double 值,其為此執行個體與指定 ts 相除後的結果。Returns a new Double value which is the result of division of this instance and the specified ts.

public:
 double Divide(TimeSpan ts);
public double Divide (TimeSpan ts);
member this.Divide : TimeSpan -> double
Public Function Divide (ts As TimeSpan) As Double

參數

ts
TimeSpan

作為除數的值。The value to be divided by.

傳回

Double

新的值,其表示此執行個體除以 ts 值後的結果。A new value that represents result of division of this instance by the value of the ts.

適用於

Divide(Double)

傳回新的 TimeSpan 物件,其值為此執行個體與指定 divisor 相除後的結果。Returns a new TimeSpan object which value is the result of division of this instance and 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

參數

divisor
Double

作為除數的值。The value to be divided by.

傳回

TimeSpan

新的物件,其表示此執行個體除以 divisor 值後的值。A new object that represents the value of this instance divided by the value of divisor.

適用於