CompositeCommand.UnregisterCommand Method
Removes a command from the collection and removes itself from the CanExecuteChanged event of it.
Namespace: Microsoft.Practices.Prism.Commands
Assembly: Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)
Syntax
public virtual void UnregisterCommand(
ICommand command
)
'Declaration
Public Overridable Sub UnregisterCommand ( _
command As ICommand _
)
Parameters
- command
Type: System.Windows.Input.ICommand
The command to unregister.