UICommand Constructor (String, UICommandInvokedHandler)

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

Syntax

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

Parameters

label
Type: String 

  The label for the new command.

action
Type: UICommandInvokedHandler 

The event handler for the new command.

Requirements

Namespace: Windows.UI.Popups

Metadata: windows.winmd

See also

Reference

UICommand Class

UICommand Members

Windows.UI.Popups Namespace