Menu.RemoveAllItems Method

Removes all items from a menu.

void RemoveAllItems()