Operators.CompareObjectLessEqual(Object, Object, Boolean) Metode

Definisi

Mewakili operator Visual Basic kurang dari atau sama dengan (<=).

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

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