Jaa


SettingsCommand(Object, String, UICommandInvokedHandler) Constructor

Definition

Creates a new settings command.

public:
 SettingsCommand(Platform::Object ^ settingsCommandId, Platform::String ^ label, UICommandInvokedHandler ^ handler);
 SettingsCommand(IInspectable const& settingsCommandId, winrt::hstring const& label, UICommandInvokedHandler const& handler);
public SettingsCommand(object settingsCommandId, string label, UICommandInvokedHandler handler);
function SettingsCommand(settingsCommandId, label, handler)
Public Sub New (settingsCommandId As Object, label As String, handler As UICommandInvokedHandler)

Parameters

settingsCommandId
Object

Platform::Object

IInspectable

The ID of the command.

label
String

Platform::String

winrt::hstring

The label for the command, which is displayed in the settings pane.

handler
UICommandInvokedHandler

The event handler that is called when the user selects this command in the settings pane.

Applies to