Condividi tramite


IUICommand.Id Proprietà

Definizione

Ottiene o imposta l'identificatore 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

Valore della proprietà

Object

Platform::Object

IInspectable

Rappresenta l'identificatore del comando.

Commenti

Se si assegna un identificatore univoco a ogni comando, è possibile implementare un singolo metodo UICommandInvokedHandler che gestisce gli eventi da più comandi.

Si applica a

Vedi anche