getLevel

getLevel(): Integer;

The getLevel method of the MenuItem class returns the level of the menu item.

An exception is raised if a MenuItem method is invoked from a server method.