Redigera

Dela via


Runtime.Equals(Object, Object) Method

Definition

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.

Applies to

See also