CommandMenu.dispose Method

Disposes the element.