Determines whether this multicast delegate and the specified object are equal.
mscorlib (in mscorlib.dll)
Public Overrides NotOverridable Function Equals (
obj As Object
) As Boolean
The object to compare with this instance.
true if obj and this instance have the same invocation lists; otherwise, false.
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.
Two delegates are equal if they are not null and are of exactly the same type, their invocation lists contain the same number of elements, and every element in the invocation list of the first delegate is equal to the corresponding element in the invocation list of the second delegate.
Two invocation list elements are equal if they invoke the same instance method on the same target instance, or they invoke the same static method.
Return to top Universal Windows Platform
Available since 8.NET Framework
Available since 1.1Portable Class Library
Supported in: portable .NET platformsSilverlight
Available since 2.0Windows Phone Silverlight
Available since 7.0Windows Phone
Available since 8.1