CommandHandlerAttribute Constructor

Declares a method as a handler for a Command with specified name.

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

Syntax

'Declaration
Public Sub New ( _
    commandName As String _
)
'Usage
Dim commandName As String

Dim instance As New CommandHandlerAttribute(commandName)
public CommandHandlerAttribute (
    string commandName
)
public:
CommandHandlerAttribute (
    String^ commandName
)
public CommandHandlerAttribute (
    String commandName
)
public function CommandHandlerAttribute (
    commandName : String
)

Parameters

  • commandName
    The name of the Command the method handles.

See Also

Reference

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