Udostępnij za pośrednictwem


IUICommand.Id Property

Definition

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 = iUICommand.id;
iUICommand.id = object;
Public Property Id As Object

Property Value

Object

Platform::Object

IInspectable

Represents the identifier of the command.

Remarks

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

Applies to

See also