Creates a new instance of the UICommand class using the specified label and event handler.
public:
UICommand(
String^ label,
UICommandInvokedHandler^ action
)
label
Type: String
The label for the new command.
action
Type: UICommandInvokedHandler
The event handler for the new command.
Namespace: Windows.UI.Popups
Metadata: windows.winmd