Operators.CompareObjectNotEqual(Object, Object, Boolean) Metode

Definisi

Mewakili operator Visual Basic tidak sama dengan (<>).

API ini mendukung infrastruktur produk dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

public:
 static System::Object ^ CompareObjectNotEqual(System::Object ^ Left, System::Object ^ Right, bool TextCompare);
public static object CompareObjectNotEqual(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 object? CompareObjectNotEqual(object? Left, object? Right, bool TextCompare);
public static object? CompareObjectNotEqual(object? Left, object? Right, bool TextCompare);
static member CompareObjectNotEqual : obj * obj * bool -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")>]
static member CompareObjectNotEqual : obj * obj * bool -> obj
Public Shared Function CompareObjectNotEqual (Left As Object, Right As Object, TextCompare As Boolean) As Object

Parameter

Left
Object

Required. Ekspresi apa pun.

Right
Object

Required. Ekspresi apa pun.

TextCompare
Boolean

Required. True untuk melakukan perbandingan string yang tidak peka huruf besar/kecil; jika tidak, False.

Mengembalikan

True jika Left tidak sama dengan Right; jika tidak, False.

Atribut

Keterangan

Kelas ini mendukung pengkompilasi Visual Basic dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

Berlaku untuk

Lihat juga