Main Content

RemoveAll

Convenience function for static .NET System.Delegate RemoveAll method

    Description

    result = RemoveAll(combinedDelegate,removedDelegate) removes all instances of removedDelegate from combinedDelegate. For information about the System.Delegate RemoveAll method, refer to Microsoft® .NET documentation.

    Input Arguments

    collapse all

    Delegate to modify, specified as a .NET System.Delegate object. All instances of removedDelegate are deleted.

    Delegate to remove, specified as a .NET System.Delegate object. All instances of the delegate are removed from combinedDelegate.

    Output Arguments

    collapse all

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

    Alternative Functionality

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

    Version History

    Introduced in R2011a