[This documentation is preliminary and is subject to change.]
Gets or sets the identifier of the command.
Syntax
var id = uiCommand.id;
uiCommand.id = id;
Property value
Type: Object [JavaScript] | System.Object [.NET] | Platform::Object [C++]
Represents the identifier of the command.
Remarks
If you assign a unique identifier to each menu command, you can implement a single UICommandInvokedHandler method that handles events from multiple commands.
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
- Reference
- IUICommand
- Object
- PopupMenu.Commands
- UICommand
Build date: 5/22/2012
