UICommand.Id Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the identifier of the command.
public:
property Platform::Object ^ Id { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Id();
void Id(IInspectable value);
public object Id { get; set; }
var object = uICommand.id;
uICommand.id = object;
Public Property Id As Object
Property Value
Represents the identifier of the command.
Implements
Remarks
If you assign a unique identifier to each menu command, you can implement a single UICommandInvokedHandler method that handles events from multiple commands.