addresslist.cs

来自「破解的飞信源代码」· CS 代码 · 共 31 行

CS
31
字号
namespace Microsoft.Office.Interop.Outlook
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;

    [ComImport, TypeLibType((short) 0x1040), Guid("00063049-0000-0000-C000-000000000046")]
    public interface AddressList
    {
        [DispId(0xf000)]
        Microsoft.Office.Interop.Outlook.Application Application { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf000)] get; }
        [DispId(0xf00a)]
        OlObjectClass Class { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00a)] get; }
        [DispId(0xf00b)]
        NameSpace Session { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00b)] get; }
        [DispId(0xf001)]
        object Parent { [return: MarshalAs(UnmanagedType.IDispatch)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf001)] get; }
        [DispId(0x100)]
        Microsoft.Office.Interop.Outlook.AddressEntries AddressEntries { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x100)] get; }
        [DispId(0xf01e)]
        string ID { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf01e)] get; }
        [DispId(0x5b)]
        int Index { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x5b)] get; }
        [DispId(0xf017)]
        bool IsReadOnly { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf017)] get; }
        [DispId(0x3001)]
        string Name { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0x3001)] get; }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?