Прочетете на английски Редактиране

Споделяне чрез


UInt16.IUnaryNegationOperators<UInt16,UInt16>.UnaryNegation Operator

Definition

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.

Computes the unary negation of a value.

C#
static ushort IUnaryNegationOperators<ushort,ushort>.operator -(ushort value);

Parameters

value
UInt16

The value for which to compute the unary negation.

Returns

The unary negation of value.

Implements

Applies to

Продукт Версии
.NET 7, 8, 9, 10