public LateBindingApi.Excel.PublishObject Add(LateBindingApi.Excel.Enums.XlSourceType sourceType, string filename) { object[] paramArray = new object[2]; paramArray[0] = sourceType; paramArray[1] = filename; object returnValue = Invoker.MethodReturn(this, "Add", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.PublishObject newClass = new LateBindingApi.Excel.PublishObject(this, returnValue); return(newClass); }
public LateBindingApi.Excel.PublishObject Add(LateBindingApi.Excel.Enums.XlSourceType sourceType, string filename, object sheet, object source, object htmlType, object divID, object title) { object[] paramArray = new object[7]; paramArray[0] = sourceType; paramArray[1] = filename; paramArray[2] = sheet; paramArray[3] = source; paramArray[4] = htmlType; paramArray[5] = divID; paramArray[6] = title; object returnValue = Invoker.MethodReturn(this, "Add", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.PublishObject newClass = new LateBindingApi.Excel.PublishObject(this, returnValue); return(newClass); }