📄 itemevents.cs
字号:
namespace Microsoft.Office.Interop.Outlook
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[ComImport, InterfaceType((short) 2), Guid("0006303A-0000-0000-C000-000000000046"), TypeLibType((short) 0x1000)]
public interface ItemEvents
{
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf003)]
void Open([In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf006)]
void CustomAction([In, MarshalAs(UnmanagedType.IDispatch)] object Action, [In, MarshalAs(UnmanagedType.IDispatch)] object Response, [In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf008)]
void CustomPropertyChange([In, MarshalAs(UnmanagedType.BStr)] string Name);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf468)]
void Forward([In, MarshalAs(UnmanagedType.IDispatch)] object Forward, [In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf004)]
void Close([In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf009)]
void PropertyChange([In, MarshalAs(UnmanagedType.BStr)] string Name);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf001)]
void Read();
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf466)]
void Reply([In, MarshalAs(UnmanagedType.IDispatch)] object Response, [In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf467)]
void ReplyAll([In, MarshalAs(UnmanagedType.IDispatch)] object Response, [In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf005)]
void Send([In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf002)]
void Write([In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00a)]
void BeforeCheckNames([In, Out] ref bool Cancel);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00b)]
void AttachmentAdd([In, MarshalAs(UnmanagedType.Interface)] Attachment Attachment);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00c)]
void AttachmentRead([In, MarshalAs(UnmanagedType.Interface)] Attachment Attachment);
[PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00d)]
void BeforeAttachmentSave([In, MarshalAs(UnmanagedType.Interface)] Attachment Attachment, [In, Out] ref bool Cancel);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -