public void SetValue(LateBindingApi.Excel.XmlMap map, string xPath) { object[] paramArray = new object[2]; paramArray.SetValue(map, 0); paramArray[1] = xPath; Invoker.Method(this, "SetValue", paramArray); }
public void SetValue(LateBindingApi.Excel.XmlMap map, string xPath, object selectionNamespace, object repeating) { object[] paramArray = new object[4]; paramArray.SetValue(map, 0); paramArray[1] = xPath; paramArray[2] = selectionNamespace; paramArray[3] = repeating; Invoker.Method(this, "SetValue", paramArray); }
public LateBindingApi.Excel.XmlMap 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.XmlMap newClass = new LateBindingApi.Excel.XmlMap(this, returnValue); return(newClass); }
public LateBindingApi.Excel.XmlMap Add(string schema) { object[] paramArray = new object[1]; paramArray[0] = schema; object returnValue = Invoker.MethodReturn(this, "Add", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.XmlMap newClass = new LateBindingApi.Excel.XmlMap(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.XmlMap returnClass = new LateBindingApi.Excel.XmlMap(this, itemProxy); isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null); yield return(returnClass); } }
public void AfterXmlExport([In, MarshalAs(UnmanagedType.Interface)] object map, [In] string url, [In] LateBindingApi.Excel.Enums.XlXmlExportResult result) { if (true == _eventClass.IsDisposed) { Marshal.ReleaseComObject(map); return; } object[] paramArray = new object[3]; paramArray[0] = new LateBindingApi.Excel.XmlMap(_eventClass, map); paramArray[1] = url; paramArray[2] = result; bool isRecieved = _eventBinding.CallEvent("AfterXmlExportEvent", paramArray); if (false == isRecieved) { Invoker.ReleaseParamArray(paramArray); } }
public void BeforeXmlExport([In, MarshalAs(UnmanagedType.Interface)] object map, [In] string url, [In] ref bool cancel) { if (true == _eventClass.IsDisposed) { Marshal.ReleaseComObject(map); return; } object[] paramArray = new object[3]; paramArray[0] = new LateBindingApi.Excel.XmlMap(_eventClass, map); paramArray[1] = url; paramArray.SetValue(cancel, 2); bool isRecieved = _eventBinding.CallEvent("BeforeXmlExportEvent", paramArray); if (false == isRecieved) { Invoker.ReleaseParamArray(paramArray); } }