Operators.NegateObject(Object) 方法

定義

代表 Visual Basic 的一元減去(-)運算子。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static System::Object ^ NegateObject(System::Object ^ Operand);
public static object NegateObject(object Operand);
static member NegateObject : obj -> obj
Public Shared Function NegateObject (Operand As Object) As Object

參數

Operand
Object

必須的。 任何數字表達式。

傳回

Operand負值。

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於

另請參閱