Chỉnh sửa

Chia sẻ qua


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);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")]
public static object? NotObject(object? Operand);
public static object? NotObject(object? Operand);
static member NotObject : obj -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")>]
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.

Attributes

Remarks

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

Applies to

See also