MenuItem.Remove Method
Removes the MenuItem specified either by its position (index) or by reference.
Syntax
MenuItem.Remove Index, Child
Index
Integer OR
Child
MenuItem