public LateBindingApi.Office.PickerResult this[Int32 index] { get { object[] paramArray = new object[1]; paramArray[0] = index; object returnValue = Invoker.PropertyGet(this, "Item", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Office.PickerResult newClass = new LateBindingApi.Office.PickerResult(this, returnValue); return(newClass); } }
public LateBindingApi.Office.PickerResult Add(string id, string displayName, string type, string sIPId) { object[] paramArray = new object[4]; paramArray[0] = id; paramArray[1] = displayName; paramArray[2] = type; paramArray[3] = sIPId; object returnValue = Invoker.MethodReturn(this, "Add", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Office.PickerResult newClass = new LateBindingApi.Office.PickerResult(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.Office.PickerResult returnClass = new LateBindingApi.Office.PickerResult(this, itemProxy); isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null); yield return(returnClass); } }