Επεξεργασία

Κοινή χρήση μέσω


ObjectType.ObjTst(Object, Object, Boolean) Method

Definition

Performs binary or text string comparison when given two objects.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static int ObjTst(System::Object ^ o1, System::Object ^ o2, bool TextCompare);
public static int ObjTst (object? o1, object? o2, bool TextCompare);
public static int ObjTst (object o1, object o2, bool TextCompare);
static member ObjTst : obj * obj * bool -> int
Public Shared Function ObjTst (o1 As Object, o2 As Object, TextCompare As Boolean) As Integer

Parameters

o1
Object

Required. Any expression.

o2
Object

Required. Any expression.

TextCompare
Boolean

Required. True to perform a case-insensitive string comparison; otherwise, False.

Returns

Value Condition
-1 o1 is less than o2.
0 o1 is equal to o2.
1 o1 is greater than o2.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to

See also