Operators.AndObject(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the Visual Basic And
operator.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::Object ^ AndObject(System::Object ^ Left, System::Object ^ Right);
public static object AndObject (object Left, object Right);
public static object? AndObject (object? Left, object? Right);
static member AndObject : obj * obj -> obj
Public Shared Function AndObject (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, True
if both Left
and Right
evaluate to True
; otherwise, False
. For bitwise operations, 1 if both Left
and Right
evaluate to 1; otherwise, 0.
Remarks
This class supports the Visual Basic compiler and is not intended to be used directly from your code.