OpenTypeMethods.Equal(Object, Object) 方法

定义

确定指定的对象是否视作相等。Determines whether the specified objects are considered equal.

public:
 static System::Object ^ Equal(System::Object ^ left, System::Object ^ right);
public static object Equal (object left, object right);
static member Equal : obj * obj -> obj
Public Shared Function Equal (left As Object, right As Object) As Object

参数

left
Object

要比较的第一个对象。The first object to compare.

right
Object

要比较的第二个对象。The second object to compare.

返回

Object

如果两个对象相等,则返回 true;否则,返回 falsetrue if both objects are equal; otherwise, false.

适用于