Operators.NegateObject(Object) Metoda

Definice

Představuje Visual Basic unární mínus (-).

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

public:
 static System::Object ^ NegateObject(System::Object ^ Operand);
public static object NegateObject(object Operand);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")]
public static object? NegateObject(object? Operand);
public static object? NegateObject(object? Operand);
static member NegateObject : obj -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")>]
static member NegateObject : obj -> obj
Public Shared Function NegateObject (Operand As Object) As Object

Parametry

Operand
Object

Required. Libovolný číselný výraz.

Návraty

Záporná Operandhodnota .

Atributy

Poznámky

Tato třída podporuje kompilátor jazyka Visual Basic a není určena k použití přímo z vašeho kódu.

Platí pro

Viz také