====== ItemCount ====== Property of [[:scripting:api:menu-object:start|IMenuObject]] ===== Description ===== Returns items count ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:ULONG|ULONG]]** ===== Syntax ===== ==== JavaScript ==== var nCount = MenuObject.ItemCount; ==== Visual Basic Script ==== nCount = MenuObject.ItemCount ==== C++ ==== ULONG nCount; HRESULT hr = MenuObject.get_ItemCount(&nCount); ===== See Also ===== [[:scripting:api:menu-object:start|IMenuObject]] ~~NOTOC~~