Main Content

Remove

Convenience function for static .NET System.Delegate Remove method

    Description

    result = Remove(combinedDelegate,removedDelegate) removes last instance of the removedDelegate delegate from the combinedDelegate delegate. For information about the System.Delegate Remove method, refer to Microsoft® .NET documentation.

    Input Arguments

    collapse all

    Delegate to modify, specified as a .NET System.Delegate object.

    Delegate to remove, specified as a .NET System.Delegate object. The last delegate is removed from combinedDelegate.

    Output Arguments

    collapse all

    Updated delegate, returned as a .NET System.Delegate object.

    Alternative Functionality

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

    Version History

    Introduced in R2011a