共用方式為


ISubtractionOperators<TSelf,TOther,TResult> 介面

定義

定義計算兩個值差異的機制。

generic <typename TSelf, typename TOther, typename TResult>
 where TSelf : ISubtractionOperators<TSelf, TOther, TResult>public interface class ISubtractionOperators
public interface ISubtractionOperators<TSelf,TOther,TResult> where TSelf : ISubtractionOperators<TSelf,TOther,TResult>
type ISubtractionOperators<'Self, 'Other, 'Result (requires 'Self :> ISubtractionOperators<'Self, 'Other, 'Result>)> = interface
Public Interface ISubtractionOperators(Of TSelf, TOther, TResult)

類型參數

TSelf

實作這個介面的類型。

TOther

要從 TSelf減去的型別。

TResult

型別,包含從 TSelf減去的值TOther

衍生

運算子

CheckedSubtraction(TSelf, TOther)

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

Subtraction(TSelf, TOther)

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

適用於