UICommand.Id UICommand.Id UICommand.Id UICommand.Id UICommand.Id Property

Definition

Gets or sets the identifier of the command.

public : Platform::Object Id { get; set; }
winrt::Windows::Foundation::IInspectable Id();

void Id(winrt::Windows::Foundation::IInspectable id);
public object Id { get; set; }
Public ReadWrite Property Id As object
var object = uiCommand.id;
uiCommand.id = object;

Property Value

object object object

Represents the identifier of the command.

Remarks

If you assign a unique identifier to each menu command, you can implement a single UICommandInvokedHandler method that handles events from multiple commands.

See also