Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
Menu.remove
Removes the specified menu item.
Syntax
public MenuItem remove( int index )
public void remove( MenuItem item )
Parameters
index
The zero-based index of the menu item to remove.
item
A MenuItem object that specifies the item to remove.
Return Value
Returns a MenuItem object that specifies the item that was removed.
Remarks
When a menu item is removed, all items following the removed item are moved up one position.