menu_item_get_sub_items_size()

Retrieve the number of sub-menu items inside the menu item.

Synopsis:

#include "bps/menu.h"
 
BPS_API size_t menu_item_get_sub_items_size(menu_item_t *item)

Since:

BlackBerry 10.0.0

Arguments:

item

The menu item to retrieve the number of sub-menu items from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The menu_item_get_sub_items_size() function extracts the number of sub-menu items in the menu item.

Returns:

The number of sub-menu items inside the menu item.