public LateBindingApi.Excel.CustomProperty 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.CustomProperty newClass = new LateBindingApi.Excel.CustomProperty(this, returnValue); return(newClass); }
public LateBindingApi.Excel.CustomProperty Add(string name, object value) { object[] paramArray = new object[2]; paramArray[0] = name; paramArray[1] = value; object returnValue = Invoker.MethodReturn(this, "Add", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.CustomProperty newClass = new LateBindingApi.Excel.CustomProperty(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.CustomProperty returnClass = new LateBindingApi.Excel.CustomProperty(this, itemProxy); isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null); yield return(returnClass); } }