Class MulticastDelegate
Represents a multicast delegate; that is, a delegate that can have more than one element in its invocation list.
Inherited Members
Namespace: System
Assembly: mscorlib.dll
Syntax
public abstract class MulticastDelegate : Delegate
Methods
| Improve this Doc View SourceEquals(Object)
Returns the hash code for this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | A 32-bit signed integer hash code. |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Operators
Equality(MulticastDelegate, MulticastDelegate)
Determines whether two MulticastDelegate objects are equal.
Declaration
public static extern bool operator ==(MulticastDelegate d1, MulticastDelegate d2)
Parameters
Type | Name | Description |
---|---|---|
MulticastDelegate | d1 | The left operand. |
MulticastDelegate | d2 | The right operand. |
Returns
Type | Description |
---|---|
Boolean | true if d1 and d2 have the same invocation lists; otherwise, false. |
Inequality(MulticastDelegate, MulticastDelegate)
Determines whether two MulticastDelegate objects are not equal.
Declaration
public static extern bool operator !=(MulticastDelegate d1, MulticastDelegate d2)
Parameters
Type | Name | Description |
---|---|---|
MulticastDelegate | d1 | The left operand. |
MulticastDelegate | d2 | The right operand. |
Returns
Type | Description |
---|---|
Boolean | rue if d1 and d2 do not have the same invocation lists; otherwise, false. |