Operators.OrObject Method (Object, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Represents the Visual Basic Or operator.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static object OrObject(
	object Left,
	object Right
)

Parameters

Left
Type: System.Object

Required. Any Boolean or numeric expression.

Right
Type: System.Object

Required. Any Boolean or numeric expression.

Return Value

Type: System.Object

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.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone
Available since 8.1
Return to top
Show: