ערוך

שתף באמצעות


Operators.OrObject(Object, Object) Method

Definition

Represents the Visual Basic Or operator.

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

public:
 static System::Object ^ OrObject(System::Object ^ Left, System::Object ^ Right);
public static object OrObject (object Left, object Right);
public static object? OrObject (object? Left, object? Right);
static member OrObject : obj * obj -> obj
Public Shared Function OrObject (Left As Object, Right As Object) As Object

Parameters

Left
Object

Required. Any Boolean or numeric expression.

Right
Object

Required. Any Boolean or numeric expression.

Returns

For Boolean operations, False if both Left and Right evaluate to False; otherwise, True. For bitwise operations, 0 if both Left and Right evaluate to 0; otherwise, 1.

Remarks

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

Applies to

See also