Microsoft SDK for Java

Menu.getMenuItemCount

Retrieves the number of items that this menu contains.

Syntax

public int getMenuItemCount()

Return Value

Returns the number of items in this menu.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.