Edit

Share via


Runtime.Equals(Object, Object) Method

Definition

Overloads

Equals(Object, Object)

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

Determines whether two specified values are equal.

Equals(Object, Object)

Determines whether two specified values are equal.

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

public:
 static bool Equals(System::Object ^ v1, System::Object ^ v2);
public static bool Equals (object v1, object v2);
static member Equals : obj * obj -> bool
Public Shared Function Equals (v1 As Object, v2 As Object) As Boolean

Parameters

v1
Object

The first operand.

v2
Object

The second operand.

Returns

true if the values are equal; false if the values are not equal.

See also

Applies to