Determines whether two MulticastDelegate objects are equal.
[C#] public static new bool operator ==( MulticastDelegate d1, MulticastDelegate d2 ); [C++] public: static new bool operator op_Equality( MulticastDelegate* d1, MulticastDelegate* d2 ); [JScript] returnValue = d1 == d2;
[Visual Basic] In Visual Basic, you cannot use the operators defined by a type, nor override them or define your own.
[JScript] In JScript, you can use the operators defined by a type, but you cannot override them or define your own.
True if d1 and d2 have the same invocation lists; otherwise false.
Two delegates, whether single- or multi-cast, are equal if they have the same invocation lists. Two invocation lists are considered identical if they have the same order, and the corresponding elements from the two lists represent the same method and target.
The methods and targets are compared for equality in the following way. If the two methods being compared are static, they must be the same method on the same class, in which case the methods and targets are considered equal. If the two methods being compared are instance methods, they must be the same method on the same object, in which case the methods and targets are considered equal. Otherwise the methods and targets are not considered to be equal.
MulticastDelegate Class | MulticastDelegate Members | System Namespace