共用方式為


ISubtractionOperators<TSelf,TOther,TResult>.Subtraction 運算子

定義

減去兩個值來計算其差異。

public:
 static TResult operator -(TSelf left, TOther right);
public static abstract TResult operator - (TSelf left, TOther right);
static member ( - ) : 'Self * 'Other -> 'Result
Public Shared Operator - (left As TSelf, right As TOther) As TResult

參數

left
TSelf

要從中減去的值 right

right
TOther

left減去的值。

傳回

TResult

left減去的值right

適用於