GetItemCount Method (Menu)

Class

Menu.

Action

Returns the number of menu items for this menu. Also includes separator menu items.

Syntax

C#
itemCount = menu.GetItemCount()
VB
itemCount = menu.GetItemCount()
Variable Description
itemCount Integer.