public NetOffice.OutlookApi._Inspector ActiveInspector() { object[] paramsArray = null; object returnItem = Invoker.MethodReturn(this, "ActiveInspector", paramsArray); NetOffice.OutlookApi._Inspector newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi._Inspector; return(newObject); }
public NetOffice.OutlookApi._Inspector Add(object item) { object[] paramsArray = Invoker.ValidateParamsArray(item); object returnItem = Invoker.MethodReturn(this, "Add", paramsArray); NetOffice.OutlookApi._Inspector newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi._Inspector; return(newObject); }
public void NewInspector([In, MarshalAs(UnmanagedType.IDispatch)] object inspector) { if (!Validate("NewInspector")) { Invoker.ReleaseParamsArray(inspector); return; } NetOffice.OutlookApi._Inspector newInspector = Factory.CreateEventArgumentObjectFromComProxy(EventClass, inspector) as NetOffice.OutlookApi._Inspector; object[] paramsArray = new object[1]; paramsArray[0] = newInspector; EventBinding.RaiseCustomEvent("NewInspector", ref paramsArray); }
public void NewInspector([In, MarshalAs(UnmanagedType.IDispatch)] object inspector) { Delegate[] recipients = _eventBinding.GetEventRecipients("NewInspector"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(inspector); return; } NetOffice.OutlookApi._Inspector newInspector = Factory.CreateObjectFromComProxy(_eventClass, inspector) as NetOffice.OutlookApi._Inspector; object[] paramsArray = new object[1]; paramsArray[0] = newInspector; _eventBinding.RaiseCustomEvent("NewInspector", ref paramsArray); }