NullableTypes Class Library

NullableInt64 Unary Negation Operator 

Negates the Value of the specified NullableInt64 structure.

[Visual Basic]
returnValue = NullableInt64.op_UnaryNegation(x)
[C#]
public static NullableInt64 operator -(
   NullableInt64 x
);

Parameters

x
A NullableInt64 structure.

Return Value

Null if x is Null otherwise a NullableInt64 structure containing the negated value.

Exceptions

Exception TypeCondition
OverflowException The negation compute a number that is greater than MaxValue.

See Also

NullableInt64 Class | NullableTypes Namespace