public LateBindingApi.Excel.Window NewWindow() { object returnValue = Invoker.MethodReturn(this, "NewWindow", null); if (null == returnValue) { return(null); } LateBindingApi.Excel.Window newClass = new LateBindingApi.Excel.Window(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Window 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.Window newClass = new LateBindingApi.Excel.Window(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.Window returnClass = new LateBindingApi.Excel.Window(this, itemProxy); isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null); yield return(returnClass); } }
public void WindowDeactivate([In, MarshalAs(UnmanagedType.Interface)] object wn) { if (true == _eventClass.IsDisposed) { Marshal.ReleaseComObject(wn); return; } object[] paramArray = new object[1]; paramArray[0] = new LateBindingApi.Excel.Window(_eventClass, wn); bool isRecieved = _eventBinding.CallEvent("WindowDeactivateEvent", paramArray); if (false == isRecieved) { Invoker.ReleaseParamArray(paramArray); } }