Main Content

Combine

Convenience function for static .NET System.Delegate Combine method

    Description

    result = Combine(delegateA,delegateB) combines two delegates into a new delegate. For information about the System.Delegate Combine method, refer to Microsoft® .NET documentation.

    Input Arguments

    collapse all

    First delegate in new delegate, specified as a .NET System.Delegate object.

    Last delegate in new delegate, specified as a .NET System.Delegate object.

    Output Arguments

    collapse all

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

    Alternative Functionality

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

    Version History

    Introduced in R2011a