IUICommand.Id Property

Gets or sets the identifier of the command.

Syntax

public:
property Object^ Id {
         Object^ get ();
         void set (Object^ value);
}  

Property value

Type: Object 

  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.

Requirements

Namespace: Windows.UI.Popups

Metadata: windows.winmd

See also

Reference

IUICommand Interface

IUICommand Members

Windows.UI.Popups Namespace