NevronOpenVision
Nevron.Nov.UI Namespace / NCommander Class / ReplaceCommandAction Method
The new command action to insert in the commander.
In This Topic
    ReplaceCommandAction Method
    In This Topic
    Replaces an old command action with the given new one. The command action for the command of the given one is removed from the commander and the given new command action is inserted in its place.
    Syntax
    public System.bool ReplaceCommandAction( 
       NCommandAction newCommandAction
    )

    Parameters

    newCommandAction
    The new command action to insert in the commander.

    Return Value

    True if an old command action was found for the command of the new one and it was replaced successfully.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also