Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
        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);
        }