ISubtractionOperators<TSelf,TOther,TResult> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义用于计算两个值差异的机制。
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) |
减去两个值以计算其差异。 |