📄 applicationclass.cs
字号:
namespace Microsoft.Office.Interop.Outlook
{
using Microsoft.Office.Core;
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[ComImport, ComSourceInterfaces("Microsoft.Office.Interop.Outlook.ApplicationEvents_11\0Microsoft.Office.Interop.Outlook.ApplicationEvents\0Microsoft.Office.Interop.Outlook.ApplicationEvents_10\0"), Guid("0006F03A-0000-0000-C000-000000000046"), TypeLibType((short) 11), ClassInterface((short) 0)]
public class ApplicationClass : _Application, Microsoft.Office.Interop.Outlook.Application, ApplicationEvents_11_Event, ApplicationEvents_Event, ApplicationEvents_10_Event
{
public event ApplicationEvents_11_AdvancedSearchCompleteEventHandler AdvancedSearchComplete;
public event ApplicationEvents_11_AdvancedSearchStoppedEventHandler AdvancedSearchStopped;
public event ApplicationEvents_10_AdvancedSearchCompleteEventHandler ApplicationEvents_10_Event_AdvancedSearchComplete;
public event ApplicationEvents_10_AdvancedSearchStoppedEventHandler ApplicationEvents_10_Event_AdvancedSearchStopped;
public event ApplicationEvents_10_ItemSendEventHandler ApplicationEvents_10_Event_ItemSend;
public event ApplicationEvents_10_MAPILogonCompleteEventHandler ApplicationEvents_10_Event_MAPILogonComplete;
public event ApplicationEvents_10_NewMailEventHandler ApplicationEvents_10_Event_NewMail;
public event ApplicationEvents_10_OptionsPagesAddEventHandler ApplicationEvents_10_Event_OptionsPagesAdd;
public event ApplicationEvents_10_QuitEventHandler ApplicationEvents_10_Event_Quit;
public event ApplicationEvents_10_ReminderEventHandler ApplicationEvents_10_Event_Reminder;
public event ApplicationEvents_10_StartupEventHandler ApplicationEvents_10_Event_Startup;
public event ApplicationEvents_11_QuitEventHandler ApplicationEvents_11_Event_Quit;
public event ApplicationEvents_ItemSendEventHandler ApplicationEvents_Event_ItemSend;
public event ApplicationEvents_NewMailEventHandler ApplicationEvents_Event_NewMail;
public event ApplicationEvents_OptionsPagesAddEventHandler ApplicationEvents_Event_OptionsPagesAdd;
public event ApplicationEvents_QuitEventHandler ApplicationEvents_Event_Quit;
public event ApplicationEvents_ReminderEventHandler ApplicationEvents_Event_Reminder;
public event ApplicationEvents_StartupEventHandler ApplicationEvents_Event_Startup;
public event ApplicationEvents_11_ItemSendEventHandler ItemSend;
public event ApplicationEvents_11_MAPILogonCompleteEventHandler MAPILogonComplete;
public event ApplicationEvents_11_NewMailEventHandler NewMail;
public event ApplicationEvents_11_NewMailExEventHandler NewMailEx;
public event ApplicationEvents_11_OptionsPagesAddEventHandler OptionsPagesAdd;
public event ApplicationEvents_11_ReminderEventHandler Reminder;
public event ApplicationEvents_11_StartupEventHandler Startup;
[return: MarshalAs(UnmanagedType.Interface)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x111)]
public virtual extern Explorer ActiveExplorer();
[return: MarshalAs(UnmanagedType.Interface)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x112)]
public virtual extern Inspector ActiveInspector();
[return: MarshalAs(UnmanagedType.IDispatch)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11f)]
public virtual extern object ActiveWindow();
[return: MarshalAs(UnmanagedType.Interface)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xfa65)]
public virtual extern Search AdvancedSearch([In, MarshalAs(UnmanagedType.BStr)] string Scope, [In, Optional, MarshalAs(UnmanagedType.Struct)] object Filter, [In, Optional, MarshalAs(UnmanagedType.Struct)] object SearchSubFolders, [In, Optional, MarshalAs(UnmanagedType.Struct)] object Tag);
[return: MarshalAs(UnmanagedType.IDispatch)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xfa62)]
public virtual extern object CopyFile([In, MarshalAs(UnmanagedType.BStr)] string FilePath, [In, MarshalAs(UnmanagedType.BStr)] string DestFolderPath);
[return: MarshalAs(UnmanagedType.IDispatch)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x10a)]
public virtual extern object CreateItem([In] OlItemType ItemType);
[return: MarshalAs(UnmanagedType.IDispatch)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x10b)]
public virtual extern object CreateItemFromTemplate([In, MarshalAs(UnmanagedType.BStr)] string TemplatePath, [In, Optional, MarshalAs(UnmanagedType.Struct)] object InFolder);
[return: MarshalAs(UnmanagedType.IDispatch)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x115)]
public virtual extern object CreateObject([In, MarshalAs(UnmanagedType.BStr)] string ObjectName);
[return: MarshalAs(UnmanagedType.Interface)]
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x110)]
public virtual extern NameSpace GetNamespace([In, MarshalAs(UnmanagedType.BStr)] string Type);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), TypeLibFunc((short) 0x40), DispId(0xfa48)]
public virtual extern void GetNewNickNames([In, MarshalAs(UnmanagedType.Struct)] ref object pvar);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xfa6c)]
public virtual extern bool IsSearchSynchronous([In, MarshalAs(UnmanagedType.BStr)] string LookInFolders);
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x113)]
public virtual extern void Quit();
[DispId(0x11d)]
public virtual Microsoft.Office.Core.AnswerWizard AnswerWizard { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11d)] get; }
[DispId(0xf000)]
public virtual Microsoft.Office.Interop.Outlook.Application Application { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf000)] get; }
[DispId(0x114)]
public virtual Microsoft.Office.Core.Assistant Assistant { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x114)] get; }
[DispId(0xf00a)]
public virtual OlObjectClass Class { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00a)] get; }
[DispId(280)]
public virtual Microsoft.Office.Core.COMAddIns COMAddIns { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(280)] get; }
[DispId(0x119)]
public virtual Microsoft.Office.Interop.Outlook.Explorers Explorers { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x119)] get; }
[DispId(0x11e)]
public virtual MsoFeatureInstall FeatureInstall { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11e), TypeLibFunc((short) 0x40)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11e), TypeLibFunc((short) 0x40)] set; }
[DispId(0x11a)]
public virtual Microsoft.Office.Interop.Outlook.Inspectors Inspectors { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11a)] get; }
[DispId(0x11b)]
public virtual Microsoft.Office.Core.LanguageSettings LanguageSettings { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11b)] get; }
[DispId(0x11d)]
public virtual Microsoft.Office.Core.AnswerWizard Microsoft.Office.Interop.Outlook._Application.AnswerWizard { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11d)] get; }
[DispId(0xf000)]
public virtual Microsoft.Office.Interop.Outlook.Application Microsoft.Office.Interop.Outlook._Application.Application { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf000)] get; }
[DispId(0x114)]
public virtual Microsoft.Office.Core.Assistant Microsoft.Office.Interop.Outlook._Application.Assistant { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x114)] get; }
[DispId(0xf00a)]
public virtual OlObjectClass Microsoft.Office.Interop.Outlook._Application.Class { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00a)] get; }
[DispId(280)]
public virtual Microsoft.Office.Core.COMAddIns Microsoft.Office.Interop.Outlook._Application.COMAddIns { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(280)] get; }
[DispId(0x119)]
public virtual Microsoft.Office.Interop.Outlook.Explorers Microsoft.Office.Interop.Outlook._Application.Explorers { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x119)] get; }
[DispId(0x11e)]
public virtual MsoFeatureInstall Microsoft.Office.Interop.Outlook._Application.FeatureInstall { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11e), TypeLibFunc((short) 0x40)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11e), TypeLibFunc((short) 0x40)] set; }
[DispId(0x11a)]
public virtual Microsoft.Office.Interop.Outlook.Inspectors Microsoft.Office.Interop.Outlook._Application.Inspectors { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11a)] get; }
[DispId(0x11b)]
public virtual Microsoft.Office.Core.LanguageSettings Microsoft.Office.Interop.Outlook._Application.LanguageSettings { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11b)] get; }
[DispId(0x3001)]
public virtual string Microsoft.Office.Interop.Outlook._Application.Name { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x3001)] get; }
[DispId(0xf001)]
public virtual object Microsoft.Office.Interop.Outlook._Application.Parent { [return: MarshalAs(UnmanagedType.IDispatch)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf001)] get; }
[DispId(0x11c)]
public virtual string Microsoft.Office.Interop.Outlook._Application.ProductCode { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11c)] get; }
[DispId(0xfa99)]
public virtual Microsoft.Office.Interop.Outlook.Reminders Microsoft.Office.Interop.Outlook._Application.Reminders { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xfa99)] get; }
[DispId(0xf00b)]
public virtual NameSpace Microsoft.Office.Interop.Outlook._Application.Session { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00b)] get; }
[DispId(0x116)]
public virtual string Microsoft.Office.Interop.Outlook._Application.Version { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x116)] get; }
[DispId(0x3001)]
public virtual string Name { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x3001)] get; }
[DispId(0xf001)]
public virtual object Parent { [return: MarshalAs(UnmanagedType.IDispatch)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf001)] get; }
[DispId(0x11c)]
public virtual string ProductCode { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x11c)] get; }
[DispId(0xfa99)]
public virtual Microsoft.Office.Interop.Outlook.Reminders Reminders { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xfa99)] get; }
[DispId(0xf00b)]
public virtual NameSpace Session { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00b)] get; }
[DispId(0x116)]
public virtual string Version { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x116)] get; }
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -