public LateBindingApi.Excel.PivotField get__Default(object field)
        {
            object[] paramArray = new object[1];
            paramArray[0] = field;
            object returnValue = Invoker.PropertyGet(this, "_Default", paramArray);

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

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.PivotField newClass = new LateBindingApi.Excel.PivotField(this, returnValue);
            return(newClass);
        }
 public LateBindingApi.Excel.PivotField 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.PivotField newClass = new LateBindingApi.Excel.PivotField(this, returnValue);
         return(newClass);
     }
 }
        public IEnumerator GetEnumerator()
        {
            object    enumProxy  = Invoker.MethodReturn(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.PivotField returnClass = new LateBindingApi.Excel.PivotField(this, itemProxy);
                isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);
                yield return(returnClass);
            }
        }