Microsoft SDK for Java

Menu.setMenuItems

Initializes this menu to contain the specified list of menu items.

Syntax

public void setMenuItems( MenuItem[] value )

Parameters

value

An array of MenuItem objects, in which each element in the array specifies an item to add to the menu.

Remarks

A call to this method replaces all the menu's current items.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.