Skip to Main Content Skip to Search
Product Documentation

Remove - Convenience function for static .NET System.Delegate Remove method

Syntax

result = Remove(combinedDelegate,removedDelegate)

Description

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

Input Arguments

combinedDelegate

.NET System.Delegate object. The combined delegate from which to remove 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 the last instance of the removedDelegate delegate.

Alternatives

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

See Also

Combine | RemoveAll

How To

Related Links

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS