public NetOffice.OutlookApi.MAPIFolder GetFolderFromID(string entryIDFolder) { object[] paramsArray = Invoker.ValidateParamsArray(entryIDFolder); object returnItem = Invoker.MethodReturn(this, "GetFolderFromID", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = Factory.CreateObjectFromComProxy(this,returnItem) as NetOffice.OutlookApi.MAPIFolder; return newObject; }
public NetOffice.OutlookApi.MAPIFolder Save(string name) { object[] paramsArray = Invoker.ValidateParamsArray(name); object returnItem = Invoker.MethodReturn(this, "Save", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = Factory.CreateObjectFromComProxy(this,returnItem) as NetOffice.OutlookApi.MAPIFolder; return newObject; }
public NetOffice.OutlookApi.MAPIFolder OpenSharedFolder(string path, object name, object downloadAttachments) { object[] paramsArray = Invoker.ValidateParamsArray(path, name, downloadAttachments); object returnItem = Invoker.MethodReturn(this, "OpenSharedFolder", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = Factory.CreateObjectFromComProxy(this,returnItem) as NetOffice.OutlookApi.MAPIFolder; return newObject; }
public NetOffice.OutlookApi.MAPIFolder PickFolder() { object[] paramsArray = null; object returnItem = Invoker.MethodReturn(this, "PickFolder", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = Factory.CreateObjectFromComProxy(this,returnItem) as NetOffice.OutlookApi.MAPIFolder; return newObject; }
public bool IsFolderSelected(NetOffice.OutlookApi.MAPIFolder folder) { object[] paramsArray = Invoker.ValidateParamsArray(folder); object returnItem = Invoker.MethodReturn(this, "IsFolderSelected", paramsArray); return(NetRuntimeSystem.Convert.ToBoolean(returnItem)); }
public NetOffice.OutlookApi.MAPIFolder GetSharedDefaultFolder(NetOffice.OutlookApi.Recipient recipient, NetOffice.OutlookApi.Enums.OlDefaultFolders folderType) { object[] paramsArray = Invoker.ValidateParamsArray(recipient, folderType); object returnItem = Invoker.MethodReturn(this, "GetSharedDefaultFolder", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = Factory.CreateObjectFromComProxy(this,returnItem) as NetOffice.OutlookApi.MAPIFolder; return newObject; }
public NetOffice.OutlookApi.MAPIFolder GetSpecialFolder(NetOffice.OutlookApi.Enums.OlSpecialFolders folderType) { object[] paramsArray = Invoker.ValidateParamsArray(folderType); object returnItem = Invoker.MethodReturn(this, "GetSpecialFolder", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = NetOffice.Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi.MAPIFolder; return(newObject); }
public NetOffice.OutlookApi.MAPIFolder GetAlwaysMoveToFolder(NetOffice.OutlookApi._Store store) { object[] paramsArray = Invoker.ValidateParamsArray(store); object returnItem = Invoker.MethodReturn(this, "GetAlwaysMoveToFolder", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi.MAPIFolder; return(newObject); }
public object Move(NetOffice.OutlookApi.MAPIFolder destFldr) { object[] paramsArray = Invoker.ValidateParamsArray(destFldr); object returnItem = Invoker.MethodReturn(this, "Move", paramsArray); object newObject = Factory.CreateObjectFromComProxy(this, returnItem); return(newObject); }
public NetOffice.OutlookApi.MAPIFolder CopyTo(NetOffice.OutlookApi.MAPIFolder destinationFolder) { object[] paramsArray = Invoker.ValidateParamsArray(destinationFolder); object returnItem = Invoker.MethodReturn(this, "CopyTo", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi.MAPIFolder; return(newObject); }
public NetOffice.OutlookApi.NavigationFolder Add(NetOffice.OutlookApi.MAPIFolder folder) { object[] paramsArray = Invoker.ValidateParamsArray(folder); object returnItem = Invoker.MethodReturn(this, "Add", paramsArray); NetOffice.OutlookApi.NavigationFolder newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.OutlookApi.NavigationFolder.LateBindingApiWrapperType) as NetOffice.OutlookApi.NavigationFolder; return(newObject); }
public NetOffice.OutlookApi.MAPIFolder OpenSharedFolder(string path) { object[] paramsArray = Invoker.ValidateParamsArray(path); object returnItem = Invoker.MethodReturn(this, "OpenSharedFolder", paramsArray); NetOffice.OutlookApi.MAPIFolder newObject = Factory.CreateObjectFromComProxy(this, returnItem) as NetOffice.OutlookApi.MAPIFolder; return(newObject); }
public void FolderChange([In, MarshalAs(UnmanagedType.IDispatch)] object folder) { if (!Validate("FolderChange")) { Invoker.ReleaseParamsArray(folder); return; } NetOffice.OutlookApi.MAPIFolder newFolder = Factory.CreateEventArgumentObjectFromComProxy(EventClass, folder) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[1]; paramsArray[0] = newFolder; EventBinding.RaiseCustomEvent("FolderChange", ref paramsArray); }
public void FolderChange([In, MarshalAs(UnmanagedType.IDispatch)] object folder) { Delegate[] recipients = _eventBinding.GetEventRecipients("FolderChange"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(folder); return; } NetOffice.OutlookApi.MAPIFolder newFolder = Factory.CreateObjectFromComProxy(_eventClass, folder) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[1]; paramsArray[0] = newFolder; _eventBinding.RaiseCustomEvent("FolderChange", ref paramsArray); }
public void BeforeFolderSharingDialog([In, MarshalAs(UnmanagedType.IDispatch)] object folderToShare, [In][Out] ref object cancel) { if (!Validate("BeforeFolderSharingDialog")) { Invoker.ReleaseParamsArray(folderToShare, cancel); return; } NetOffice.OutlookApi.MAPIFolder newFolderToShare = Factory.CreateEventArgumentObjectFromComProxy(EventClass, folderToShare) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[2]; paramsArray[0] = newFolderToShare; paramsArray.SetValue(cancel, 1); EventBinding.RaiseCustomEvent("BeforeFolderSharingDialog", ref paramsArray); cancel = ToBoolean(paramsArray[1]); }
/// <summary> /// /// </summary> /// <param name="pages"></param> /// <param name="folder"></param> public void OptionsPagesAdd([In, MarshalAs(UnmanagedType.IDispatch)] object pages, [In, MarshalAs(UnmanagedType.IDispatch)] object folder) { if (!Validate("OptionsPagesAdd")) { Invoker.ReleaseParamsArray(pages, folder); return; } NetOffice.OutlookApi.PropertyPages newPages = Factory.CreateKnownObjectFromComProxy <NetOffice.OutlookApi.PropertyPages>(EventClass, pages, typeof(NetOffice.OutlookApi.PropertyPages)); NetOffice.OutlookApi.MAPIFolder newFolder = Factory.CreateEventArgumentObjectFromComProxy(EventClass, folder) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[2]; paramsArray[0] = newPages; paramsArray[1] = newFolder; EventBinding.RaiseCustomEvent("OptionsPagesAdd", ref paramsArray); }
public void OptionsPagesAdd([In, MarshalAs(UnmanagedType.IDispatch)] object pages, [In, MarshalAs(UnmanagedType.IDispatch)] object folder) { Delegate[] recipients = _eventBinding.GetEventRecipients("OptionsPagesAdd"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(pages, folder); return; } NetOffice.OutlookApi.PropertyPages newPages = NetOffice.Factory.CreateObjectFromComProxy(_eventClass, pages) as NetOffice.OutlookApi.PropertyPages; NetOffice.OutlookApi.MAPIFolder newFolder = NetOffice.Factory.CreateObjectFromComProxy(_eventClass, folder) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[2]; paramsArray[0] = newPages; paramsArray[1] = newFolder; _eventBinding.RaiseCustomEvent("OptionsPagesAdd", ref paramsArray); }
public void BeforeFolderMove([In, MarshalAs(UnmanagedType.IDispatch)] object moveTo, [In][Out] ref object cancel) { Delegate[] recipients = _eventBinding.GetEventRecipients("BeforeFolderMove"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(moveTo, cancel); return; } NetOffice.OutlookApi.MAPIFolder newMoveTo = NetOffice.Factory.CreateObjectFromComProxy(_eventClass, moveTo) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[2]; paramsArray[0] = newMoveTo; paramsArray.SetValue(cancel, 1); _eventBinding.RaiseCustomEvent("BeforeFolderMove", ref paramsArray); cancel = (bool)paramsArray[1]; }
/// <summary> /// /// </summary> /// <param name="clipboardContent"></param> /// <param name="target"></param> /// <param name="cancel"></param> public void BeforeItemPaste([In][Out] ref object clipboardContent, [In, MarshalAs(UnmanagedType.IDispatch)] object target, [In][Out] ref object cancel) { if (!Validate("BeforeItemPaste")) { Invoker.ReleaseParamsArray(clipboardContent, target, cancel); return; } NetOffice.OutlookApi.MAPIFolder newTarget = Factory.CreateEventArgumentObjectFromComProxy(EventClass, target) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[3]; paramsArray.SetValue(clipboardContent, 0); paramsArray[1] = newTarget; paramsArray.SetValue(cancel, 2); EventBinding.RaiseCustomEvent("BeforeItemPaste", ref paramsArray); clipboardContent = (object)paramsArray[0]; cancel = ToBoolean(paramsArray[2]); }
public void BeforeItemPaste([In][Out] ref object clipboardContent, [In, MarshalAs(UnmanagedType.IDispatch)] object target, [In][Out] ref object cancel) { Delegate[] recipients = _eventBinding.GetEventRecipients("BeforeItemPaste"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(clipboardContent, target, cancel); return; } NetOffice.OutlookApi.MAPIFolder newTarget = Factory.CreateObjectFromComProxy(_eventClass, target) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[3]; paramsArray.SetValue(clipboardContent, 0); paramsArray[1] = newTarget; paramsArray.SetValue(cancel, 2); _eventBinding.RaiseCustomEvent("BeforeItemPaste", ref paramsArray); clipboardContent = (object)paramsArray[0]; cancel = (bool)paramsArray[2]; }
public void BeforeItemMove([In, MarshalAs(UnmanagedType.IDispatch)] object item, [In, MarshalAs(UnmanagedType.IDispatch)] object moveTo, [In][Out] ref object cancel) { if (!Validate("BeforeItemMove")) { Invoker.ReleaseParamsArray(item, moveTo, cancel); return; } object newItem = Factory.CreateEventArgumentObjectFromComProxy(EventClass, item) as object; NetOffice.OutlookApi.MAPIFolder newMoveTo = Factory.CreateEventArgumentObjectFromComProxy(EventClass, moveTo) as NetOffice.OutlookApi.MAPIFolder; object[] paramsArray = new object[3]; paramsArray[0] = newItem; paramsArray[1] = newMoveTo; paramsArray.SetValue(cancel, 2); EventBinding.RaiseCustomEvent("BeforeItemMove", ref paramsArray); cancel = ToBoolean(paramsArray[2]); }
public object Move(NetOffice.OutlookApi.MAPIFolder destFldr) { return(Factory.ExecuteVariantMethodGet(this, "Move", destFldr)); }
public void MoveTo(NetOffice.OutlookApi.MAPIFolder destinationFolder) { Factory.ExecuteMethod(this, "MoveTo", destinationFolder); }
public void SetAlwaysMoveToFolder(NetOffice.OutlookApi.MAPIFolder moveToFolder, NetOffice.OutlookApi._Store store) { Factory.ExecuteMethod(this, "SetAlwaysMoveToFolder", moveToFolder, store); }
public void RemoveStore(NetOffice.OutlookApi.MAPIFolder folder) { object[] paramsArray = Invoker.ValidateParamsArray(folder); Invoker.Method(this, "RemoveStore", paramsArray); }
public void RemoveStore(NetOffice.OutlookApi.MAPIFolder folder) { Factory.ExecuteMethod(this, "RemoveStore", folder); }
public void AddSolution(NetOffice.OutlookApi.MAPIFolder solution, NetOffice.OutlookApi.Enums.OlSolutionScope scope) { Factory.ExecuteMethod(this, "AddSolution", solution, scope); }
public NetOffice.OutlookApi.MAPIFolder CopyTo(NetOffice.OutlookApi.MAPIFolder destinationFolder) { return(Factory.ExecuteBaseReferenceMethodGet <NetOffice.OutlookApi.MAPIFolder>(this, "CopyTo", destinationFolder)); }
public void MoveTo(NetOffice.OutlookApi.MAPIFolder destinationFolder) { object[] paramsArray = Invoker.ValidateParamsArray(destinationFolder); Invoker.Method(this, "MoveTo", paramsArray); }
public void DeselectFolder(NetOffice.OutlookApi.MAPIFolder folder) { object[] paramsArray = Invoker.ValidateParamsArray(folder); Invoker.Method(this, "DeselectFolder", paramsArray); }