IUnaryNegationOperators<TSelf,TResult> 介面

定義

定義計算值之一元負數的機制。

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)

計算值的一元負數。

適用於