MulticastDelegate::RemoveImpl Method (Delegate^)

 

Removes an element from the invocation list of this MulticastDelegate that is equal to the specified delegate.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

protected:
virtual Delegate^ RemoveImpl(
	Delegate^ value
) override sealed

Parameters

value
Type: System::Delegate^

The delegate to search for in the invocation list.

Return Value

Type: System::Delegate^

If value is found in the invocation list for this instance, then a new Delegate without value in its invocation list; otherwise, this instance with its original invocation list.

Exception Condition
MemberAccessException

Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.

ReflectionPermission

when invoked late-bound through mechanisms such as Type::InvokeMember. Associated enumeration: ReflectionPermissionFlag::MemberAccess

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: