Hi
How can I pass a parameter using the following code where commandId is a custom class that extends MapTool. Is CanExecute implemented to accept parameters? I always get false when I specify an object.
IPlugInWrapper wrapper = FrameworkApplication.GetPlugInWrapper(commandId);
var command = wrapper as ICommand;
if ((command != null) && command.CanExecute(null))
command.Execute(null);