IMultiplyOperators<TSelf,TOther,TResult> 接口
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义用于计算两个值的乘积的机制。
generic <typename TSelf, typename TOther, typename TResult>
where TSelf : IMultiplyOperators<TSelf, TOther, TResult>public interface class IMultiplyOperators
C#
public interface IMultiplyOperators<TSelf,TOther,TResult> where TSelf : IMultiplyOperators<TSelf,TOther,TResult>
type IMultiplyOperators<'Self, 'Other, 'Result (requires 'Self :> IMultiplyOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IMultiplyOperators(Of TSelf, TOther, TResult)
- TSelf
实现此接口的类型。
- TOther
将相乘 TSelf
的类型。
- TResult
包含 和 TOther
的乘积TSelf
的类型。
- 派生
Checked |
将两个值相乘以计算其乘积。 |
Multiply(TSelf, TOther) |
将两个值相乘以计算其乘积。 |
产品 | 版本 |
---|---|
.NET | 7, 8, 9, 10 |