CommandAdapter.UnbindCommand Method

Called when CommandAdapter is removed from a Command.

Namespace: Microsoft.Practices.CompositeUI.Commands
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Public Overridable Sub UnbindCommand ( _
    command As Command _
)
'Usage
Dim instance As CommandAdapter
Dim command As Command

instance.UnbindCommand(command)
public virtual void UnbindCommand (
    Command command
)
public:
virtual void UnbindCommand (
    Command^ command
)
public void UnbindCommand (
    Command command
)
public function UnbindCommand (
    command : Command
)

Parameters

  • command
    The Command the adapter is being removed from.

Remarks

The default implementation of this method removes the CommandChangedHandler method handler from the Changed event.

See Also

Reference

CommandAdapter Class
CommandAdapter Members
Microsoft.Practices.CompositeUI.Commands Namespace