public LateBindingApi.Excel.MenuBar Add()
        {
            object returnValue = Invoker.MethodReturn(this, "Add", null);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.MenuBar newClass = new LateBindingApi.Excel.MenuBar(this, returnValue);
            return(newClass);
        }
        public LateBindingApi.Excel.MenuBar get__Default(object index)
        {
            object[] paramArray = new object[1];
            paramArray[0] = index;
            object returnValue = Invoker.PropertyGet(this, "_Default", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.MenuBar newClass = new LateBindingApi.Excel.MenuBar(this, returnValue);
            return(newClass);
        }
        public LateBindingApi.Excel.MenuBar Add(object name)
        {
            object[] paramArray = new object[1];
            paramArray[0] = name;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.MenuBar newClass = new LateBindingApi.Excel.MenuBar(this, returnValue);
            return(newClass);
        }
        public IEnumerator GetEnumerator()
        {
            object    enumProxy  = Invoker.PropertyGet(this, "_NewEnum");
            COMObject enumerator = new COMObject(this, enumProxy);

            Invoker.Method(enumerator, "Reset", null);
            bool isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);

            while (true == isMoveNextTrue)
            {
                object itemProxy = Invoker.PropertyGet(enumerator, "Current", null);
                LateBindingApi.Excel.MenuBar returnClass = new LateBindingApi.Excel.MenuBar(this, itemProxy);
                isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);
                yield return(returnClass);
            }
        }