IUnaryNegationOperators<TSelf,TResult> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义用于计算值的一元求反的机制。
generic <typename TSelf, typename TResult>
where TSelf : IUnaryNegationOperators<TSelf, TResult>public interface class IUnaryNegationOperators
public interface IUnaryNegationOperators<TSelf,TResult> where TSelf : IUnaryNegationOperators<TSelf,TResult>
type IUnaryNegationOperators<'Self, 'Result (requires 'Self :> IUnaryNegationOperators<'Self, 'Result>)> = interface
Public Interface IUnaryNegationOperators(Of TSelf, TResult)
类型参数
- TSelf
实现此接口的类型。
- TResult
包含求 TSelf
反 的结果的类型。
- 派生
运算符
CheckedUnaryNegation(TSelf) |
计算值的检查一元求反值。 |
UnaryNegation(TSelf) |
计算值的一元求反值。 |
适用于
反馈
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:提交和查看相关反馈