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

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

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.ToolbarButton newClass = new LateBindingApi.Excel.ToolbarButton(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.ToolbarButton returnClass = new LateBindingApi.Excel.ToolbarButton(this, itemProxy);
                isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);
                yield return(returnClass);
            }
        }
        public LateBindingApi.Excel.ToolbarButton Add(object button, object before, object onAction, object pushed, object enabled, object statusBar, object helpFile, object helpContextID)
        {
            object[] paramArray = new object[8];
            paramArray[0] = button;
            paramArray[1] = before;
            paramArray[2] = onAction;
            paramArray[3] = pushed;
            paramArray[4] = enabled;
            paramArray[5] = statusBar;
            paramArray[6] = helpFile;
            paramArray[7] = helpContextID;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.ToolbarButton newClass = new LateBindingApi.Excel.ToolbarButton(this, returnValue);
            return(newClass);
        }