Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

RemoveAll

Convenience function for static .NET System.Delegate RemoveAll method

Syntax

result = RemoveAll(combinedDelegate,removedDelegate)

Description

result = RemoveAll(combinedDelegate,removedDelegate) removes all instances of removedDelegate from combinedDelegate.

Input Arguments

combinedDelegate

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

removedDelegate

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

Output Arguments

result

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

Alternatives

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

See Also

|

Introduced in R2011a

Was this topic helpful?