Exemple #1
0
        public LateBindingApi.Excel.CalculatedMember 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.CalculatedMember newClass = new LateBindingApi.Excel.CalculatedMember(this, returnValue);
            return(newClass);
        }
Exemple #2
0
        public LateBindingApi.Excel.CalculatedMember _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.CalculatedMember newClass = new LateBindingApi.Excel.CalculatedMember(this, returnValue);
            return(newClass);
        }
Exemple #3
0
        public LateBindingApi.Excel.CalculatedMember Add(string name, string formula, object solveOrder, object type)
        {
            object[] paramArray = new object[4];
            paramArray[0] = name;
            paramArray[1] = formula;
            paramArray[2] = solveOrder;
            paramArray[3] = type;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.CalculatedMember newClass = new LateBindingApi.Excel.CalculatedMember(this, returnValue);
            return(newClass);
        }
Exemple #4
0
        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.CalculatedMember returnClass = new LateBindingApi.Excel.CalculatedMember(this, itemProxy);
                isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);
                yield return(returnClass);
            }
        }
Exemple #5
0
        public LateBindingApi.Excel.CalculatedMember Add(string name, object formula, object solveOrder, object type, object dynamic, object displayFolder, object hierarchizeDistinct)
        {
            object[] paramArray = new object[7];
            paramArray[0] = name;
            paramArray[1] = formula;
            paramArray[2] = solveOrder;
            paramArray[3] = type;
            paramArray[4] = dynamic;
            paramArray[5] = displayFolder;
            paramArray[6] = hierarchizeDistinct;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

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