IUICommand.Id Propiedad

Definición

Obtiene o establece el identificador del comando.

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

Valor de propiedad

Object

Platform::Object

IInspectable

Representa el identificador del comando.

Comentarios

Si asigna un identificador único a cada comando, puede implementar un único método UICommandInvokedHandler que controle eventos de varios comandos.

Se aplica a

Consulte también