Operators.NegateObject(Object) Metódus

Definíció

A Visual Basic mínusz (-) operátort jelöli.

Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.

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

Paraméterek

Operand
Object

Kötelező. Tetszőleges numerikus kifejezés.

Válaszok

A negatív érték.Operand

Attribútumok

Megjegyzések

Ez az osztály támogatja a Visual Basic fordítót, és nem közvetlenül a kódból való használatra szolgál.

A következőre érvényes:

Lásd még