共用方式為


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

定義

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

public:
 static override TResult op_CheckedSubtraction(TSelf left, TOther right);
public static virtual TResult op_CheckedSubtraction (TSelf left, TOther right);
static member op_CheckedSubtraction : 'Self * 'Other -> 'Result
Public Shared Overrides op_CheckedSubtraction (left As TSelf, right As TOther) As TResult

參數

left
TSelf

從中減去的值 right

right
TOther

從減去 left的值。

傳回

TResult

left減去的值right

例外狀況

從減left去的值right無法由 TResult表示。

適用於