Used to overload the And function, providing custom functionality.
Create an Operator_AndRight function in a class to specify the functionality of the And operator for that class. Operator_AndRight is the same as Operator And except that the Self instance is on the right.
The ordinary (left) methods are always preferred; the Right version is used only if there is no legal left version.
Suppose you define a class MyResult with the property a as Boolean. Operator_AndRight is defined as:
Function Operator_AndRight(lhs As MyResult) As Boolean Return lhs.a And Self.a End Function
All project types on all supported operating systems.