MulticastDelegate.RemoveImpl(Delegate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an element from the invocation list of this MulticastDelegate that is equal to the specified delegate.
protected:
override Delegate ^ RemoveImpl(Delegate ^ value);
protected override sealed Delegate? RemoveImpl (Delegate value);
protected override sealed Delegate RemoveImpl (Delegate value);
override this.RemoveImpl : Delegate -> Delegate
Protected Overrides NotOverridable Function RemoveImpl (value As Delegate) As Delegate
Parameters
- value
- Delegate
The delegate to search for in the invocation list.
Returns
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.
Exceptions
Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.