UICommand Constructor (String, UICommandInvokedHandler, Object)

Creates a new instance of the UICommand class using the specified label, event handler, and command identifier.

Syntax

public:
UICommand(
         String^ label,
         UICommandInvokedHandler^ action,
         Object^ commandId
)  

Parameters

label
Type: String 

  The label for the new command.

action
Type: UICommandInvokedHandler 

The event handler for the new command.

commandId
Type: Object 

  The command identifier for the new command.

Requirements

Namespace: Windows.UI.Popups

Metadata: windows.winmd

See also

Reference

UICommand Class

UICommand Members

Windows.UI.Popups Namespace