UICommand.Id | id property

Expand
This topic has not yet been rated - Rate this topic

UICommand.Id | id property

[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

Windows.UI.Popups
Windows::UI::Popups [C++]

Metadata

Windows.winmd

See also

Reference
IUICommand
Object
PopupMenu.Commands
UICommand

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD