Determines whether the specified object and the current delegate are of the same type and share the same targets, methods, and invocation list.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public override bool Equals(
Object obj
)
Parameters
- obj
- Type: SystemObject
The object to compare with the current delegate.
Return Value
Type:
Booleantrue if
obj and the current delegate have the same targets, methods, and invocation list; otherwise, false.
Exceptions Exception | Condition |
---|
MemberAccessException | The caller does not have access to the method represented by the delegate (for example, if the method is private). |
See Also