Operators.NotObject(Object) Method

Definition

Represents the Visual Basic Not operator.

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

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

Parameters

Operand
Object

Required. Any Boolean or numeric expression.

Returns

For Boolean operations, False if Operand is True; otherwise, True. For bitwise operations, 1 if Operand is 0; otherwise, 0.

Remarks

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

Applies to

See also