This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Convenience function for static .NET System.Delegate Remove method


result = Remove(combinedDelegate,removedDelegate)


result = Remove(combinedDelegate,removedDelegate) removes last instance of the removedDelegate delegate from the combinedDelegate delegate.

Input Arguments


.NET System.Delegate object. The combined delegate from which to remove the removedDelegate delegate.


.NET System.Delegate object. The delegate to remove from the combinedDelegate delegate.

Output Arguments


.NET System.Delegate object. A new delegate which is the same as the combinedDelegate delegate except without the last instance of the removedDelegate delegate.


Use the static Remove method of the System.Delegate class.

Introduced in R2011a