Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Appends a menu item to a menu. This can be used to add a submenu. If the id property of the supplied MenuItem Objectalready exists in the menu, an exception is thrown.

Syntax

void appendMenuItem(MenuItem item);

Parameters

menuItem

A MenuItem Objectto be added to the menu.

Return Value

None.

Remarks

None.