MenuItem.cloneMenu

Overview | Methods | This Package | All Packages

MenuItem.cloneMenu

Creates a copy of this menu item.

Syntax

public MenuItem cloneMenu()

protected void cloneMenu( MenuItem itemSrc )

Parameters

itemSrc

A MenuItem object that specifies the item to copy.

Return Value

Returns a MenuItem object that is a duplicate of this object.

Remarks

The first version of this method returns a copy of this MenuItem object. The second version of this method initializes this object to be a copy of the specified MenuItem object.