Operators.NegateObject Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: