public LateBindingApi.Excel.WorkbookConnection 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.WorkbookConnection newClass = new LateBindingApi.Excel.WorkbookConnection(this, returnValue);
            return(newClass);
        }
        public LateBindingApi.Excel.WorkbookConnection AddFromFile(string filename)
        {
            object[] paramArray = new object[1];
            paramArray[0] = filename;
            object returnValue = Invoker.MethodReturn(this, "AddFromFile", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.WorkbookConnection newClass = new LateBindingApi.Excel.WorkbookConnection(this, returnValue);
            return(newClass);
        }
 public LateBindingApi.Excel.WorkbookConnection this[object index]
 {
     get
     {
         object[] paramArray = new object[1];
         paramArray[0] = index;
         object returnValue = Invoker.MethodReturn(this, "Item", paramArray);
         if (null == returnValue)
         {
             return(null);
         }
         LateBindingApi.Excel.WorkbookConnection newClass = new LateBindingApi.Excel.WorkbookConnection(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.WorkbookConnection returnClass = new LateBindingApi.Excel.WorkbookConnection(this, itemProxy);
                isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);
                yield return(returnClass);
            }
        }
        public LateBindingApi.Excel.WorkbookConnection Add(string name, string description, object connectionString, object commandText)
        {
            object[] paramArray = new object[4];
            paramArray[0] = name;
            paramArray[1] = description;
            paramArray[2] = connectionString;
            paramArray[3] = commandText;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

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