Exemplo n.º 1
0
        public LateBindingApi.Excel.PivotFilter Add(LateBindingApi.Excel.Enums.XlPivotFilterType type)
        {
            object[] paramArray = new object[1];
            paramArray[0] = type;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.PivotFilter newClass = new LateBindingApi.Excel.PivotFilter(this, returnValue);
            return(newClass);
        }
Exemplo n.º 2
0
        public LateBindingApi.Excel.PivotFilter Add(LateBindingApi.Excel.Enums.XlPivotFilterType type, object dataField, object value1, object value2, object order, object name, object description, object memberPropertyField)
        {
            object[] paramArray = new object[8];
            paramArray[0] = type;
            paramArray[1] = dataField;
            paramArray[2] = value1;
            paramArray[3] = value2;
            paramArray[4] = order;
            paramArray[5] = name;
            paramArray[6] = description;
            paramArray[7] = memberPropertyField;
            object returnValue = Invoker.MethodReturn(this, "Add", paramArray);

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