Bridge

IEqualityComparer..::..Equals Method

Determines whether the specified objects are equal.

Namespace:  System.Collections
Assembly:  Bridge (in Bridge.dll)

Syntax


<TemplateAttribute> _
Function Equals ( _
	x As Object, _
	y As Object _
) As Boolean
[TemplateAttribute]
bool^ Equals(
	Object^ x, 
	Object^ y
)

Parameters

x
Type: System..::..Object
The first object to compare.
y
Type: System..::..Object
The second object to compare.

Return Value

true if the specified objects are equal; otherwise, false.

Exceptions


ExceptionCondition
System..::..ArgumentExceptionx and y are of different types and neither one can handle comparisons with the other.