DelegateCommand Constructor (Action<Object^>^)

Visual Studio 2015
 

Initializes a new instance of the DelegateCommand class.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
DelegateCommand(
	Action<Object^>^ execute
)

Parameters

execute
Type: System::Action<Object^>^

The delegate to call when executing the command.

Return to top
Show: