Menu.RemoveItem Method

Removes an item from the menu.

bool RemoveItem(int position)

Parameters

int position

Position, starting from 0.

Return Value

True on success, false on failure.

Errors

Invalid menu position.