scripting:api:menu-object:item-count

ItemCount

Property of IMenuObject

Returns items count

Read-Only Property of type ULONG

var nCount = MenuObject.ItemCount;

==== Visual Basic Script ====

nCount = MenuObject.ItemCount

==== C++ ====

ULONG nCount;
HRESULT hr = MenuObject.get_ItemCount(&nCount);

===== See Also ===== IMenuObject