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