Esempio n. 1
0
        public NetOffice.OutlookApi._Explorer GetExplorer()
        {
            object[] paramsArray = null;
            object   returnItem  = Invoker.MethodReturn(this, "GetExplorer", paramsArray);

            NetOffice.OutlookApi._Explorer newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi._Explorer;
            return(newObject);
        }
Esempio n. 2
0
        public NetOffice.OutlookApi._Explorer Add(object folder)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(folder);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.OutlookApi._Explorer newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi._Explorer;
            return(newObject);
        }
Esempio n. 3
0
        public static NetOffice.OutlookApi._Explorer ActiveExplorer()
        {
            object[] paramsArray = null;
            object   returnItem  = Invoker.MethodReturn(_instance, "ActiveExplorer", paramsArray);

            NetOffice.OutlookApi._Explorer newObject = Factory.CreateObjectFromComProxy(_instance, returnItem) as NetOffice.OutlookApi._Explorer;
            return(newObject);
        }
Esempio n. 4
0
        public NetOffice.OutlookApi._Explorer GetExplorer(object displayMode)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(displayMode);
            object   returnItem  = Invoker.MethodReturn(this, "GetExplorer", paramsArray);

            NetOffice.OutlookApi._Explorer newObject = NetOffice.Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi._Explorer;
            return(newObject);
        }
Esempio n. 5
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="explorer"></param>
        public void NewExplorer([In, MarshalAs(UnmanagedType.IDispatch)] object explorer)
        {
            if (!Validate("NewExplorer"))
            {
                Invoker.ReleaseParamsArray(explorer);
                return;
            }

            NetOffice.OutlookApi._Explorer newExplorer = Factory.CreateEventArgumentObjectFromComProxy(EventClass, explorer) as NetOffice.OutlookApi._Explorer;
            object[] paramsArray = new object[1];
            paramsArray[0] = newExplorer;
            EventBinding.RaiseCustomEvent("NewExplorer", ref paramsArray);
        }
Esempio n. 6
0
        public void NewExplorer([In, MarshalAs(UnmanagedType.IDispatch)] object explorer)
        {
            Delegate[] recipients = _eventBinding.GetEventRecipients("NewExplorer");
            if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0))
            {
                Invoker.ReleaseParamsArray(explorer);
                return;
            }

            NetOffice.OutlookApi._Explorer newExplorer = Factory.CreateObjectFromComProxy(_eventClass, explorer) as NetOffice.OutlookApi._Explorer;
            object[] paramsArray = new object[1];
            paramsArray[0] = newExplorer;
            _eventBinding.RaiseCustomEvent("NewExplorer", ref paramsArray);
        }