Creates a new instance of the UICommand class using the specified label, event handler, and command identifier.
public:
UICommand(
String^ label,
UICommandInvokedHandler^ action,
Object^ commandId
)
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.
Namespace: Windows.UI.Popups
Metadata: windows.winmd