Operators.CompareObjectEqual(Object, Object, Boolean) 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 equal (=) operator.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::Object ^ CompareObjectEqual(System::Object ^ Left, System::Object ^ Right, bool TextCompare);
public static object CompareObjectEqual (object Left, object Right, bool TextCompare);
public static object? CompareObjectEqual (object? Left, object? Right, bool TextCompare);
static member CompareObjectEqual : obj * obj * bool -> obj
Public Shared Function CompareObjectEqual (Left As Object, Right As Object, TextCompare As Boolean) As Object
Parameters
- Left
- Object
Required. Any expression.
- Right
- Object
Required. Any expression.
- TextCompare
- Boolean
Required. True
to perform a case-insensitive string comparison; otherwise, False
.
Returns
True
if Left
and Right
are equal; otherwise, False
.
Remarks
This class supports the Visual Basic compiler and is not intended to be used directly from your code.