Edit

Share via


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

Attributes

Remarks

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

Applies to

See also