Operators::NegateObject Method (Object^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Represents the Visual Basic unary minus (–) operator.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
static Object^ NegateObject(
	Object^ Operand
)

Parameters

Operand
Type: System::Object^

Required. Any numeric expression.

Return Value

Type: System::Object^

The negative value of Operand.

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone
Available since 8.1
Return to top
Show: