Operators.ConditionalCompareObjectEqual(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 overloaded Visual Basic equals (=) operator.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool ConditionalCompareObjectEqual(System::Object ^ Left, System::Object ^ Right, bool TextCompare);
public static bool ConditionalCompareObjectEqual(object Left, object Right, bool TextCompare);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")]
public static bool ConditionalCompareObjectEqual(object? Left, object? Right, bool TextCompare);
public static bool ConditionalCompareObjectEqual(object? Left, object? Right, bool TextCompare);
static member ConditionalCompareObjectEqual : obj * obj * bool -> bool
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")>]
static member ConditionalCompareObjectEqual : obj * obj * bool -> bool
Public Shared Function ConditionalCompareObjectEqual (Left As Object, Right As Object, TextCompare As Boolean) As Boolean
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
The result of the overloaded equals operator. False if operator overloading is not supported.
- Attributes
Remarks
This class supports the Visual Basic compiler and is not intended to be used directly from your code.