IUnaryNegationOperators<TSelf,TResult> Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a mechanism for computing the unary negation of a value.
generic <typename TSelf, typename TResult>
where TSelf : IUnaryNegationOperators<TSelf, TResult>public interface class IUnaryNegationOperators
C#
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
The type that implements this interface.
- TResult
The type that contains the result of negating TSelf
.
- Derived
Checked |
Computes the checked unary negation of a value. |
Unary |
Computes the unary negation of a value. |
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: