public void ItemRenamed(LateBindingApi.VBIDE.VBComponent vBComponent, string oldName) { object[] paramArray = new object[2]; paramArray.SetValue(vBComponent, 0); paramArray[1] = oldName; Invoker.Method(this, "ItemRenamed", paramArray); }
public LateBindingApi.VBIDE.VBComponent Import(string fileName) { object[] paramArray = new object[1]; paramArray[0] = fileName; object returnValue = Invoker.MethodReturn(this, "Import", paramArray); if (null == returnValue) { return(null); } LateBindingApi.VBIDE.VBComponent newClass = new LateBindingApi.VBIDE.VBComponent(this, returnValue); return(newClass); }
public LateBindingApi.VBIDE.VBComponent Add(LateBindingApi.VBIDE.Enums.Vbext_ComponentType componentType) { object[] paramArray = new object[1]; paramArray[0] = componentType; object returnValue = Invoker.MethodReturn(this, "Add", paramArray); if (null == returnValue) { return(null); } LateBindingApi.VBIDE.VBComponent newClass = new LateBindingApi.VBIDE.VBComponent(this, returnValue); return(newClass); }
public LateBindingApi.VBIDE.VBComponent AddMTDesigner(Int32 index) { object[] paramArray = new object[1]; paramArray[0] = index; object returnValue = Invoker.MethodReturn(this, "AddMTDesigner", paramArray); if (null == returnValue) { return(null); } LateBindingApi.VBIDE.VBComponent newClass = new LateBindingApi.VBIDE.VBComponent(this, returnValue); return(newClass); }
public LateBindingApi.VBIDE.VBComponent AddCustom(string progId) { object[] paramArray = new object[1]; paramArray[0] = progId; object returnValue = Invoker.MethodReturn(this, "AddCustom", paramArray); if (null == returnValue) { return(null); } LateBindingApi.VBIDE.VBComponent newClass = new LateBindingApi.VBIDE.VBComponent(this, returnValue); return(newClass); }
public LateBindingApi.VBIDE.VBComponent this[object index] { get { object[] paramArray = new object[1]; paramArray[0] = index; object returnValue = Invoker.MethodReturn(this, "Item", paramArray); if (null == returnValue) { return(null); } LateBindingApi.VBIDE.VBComponent newClass = new LateBindingApi.VBIDE.VBComponent(this, returnValue); return(newClass); } }
public IEnumerator GetEnumerator() { object enumProxy = Invoker.MethodReturn(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.VBIDE.VBComponent returnClass = new LateBindingApi.VBIDE.VBComponent(this, itemProxy); isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null); yield return(returnClass); } }
public void ItemReloaded(LateBindingApi.VBIDE.VBComponent vBComponent) { object[] paramArray = new object[1]; paramArray.SetValue(vBComponent, 0); Invoker.Method(this, "ItemReloaded", paramArray); }
public void Remove(LateBindingApi.VBIDE.VBComponent vBComponent) { object[] paramArray = new object[1]; paramArray.SetValue(vBComponent, 0); Invoker.Method(this, "Remove", paramArray); }