__VSPROFILELOCATIONS 枚举

指定配置文件位置。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
Public Enumeration __VSPROFILELOCATIONS
public enum __VSPROFILELOCATIONS

成员

成员名称 说明
PFL_LocationNone 仅用于初始化。
PFL_InstallDir 文件位于安装目录。
PFL_SettingsDir 文件驻留在用户的默认设置内容。
PFL_Other 用户浏览的自定义文件。
PFL_AutoSave 将当前自动存储文件。
PFL_All 用户浏览的自定义文件。

备注

这些值在 UI 用于排序文件列表。值较低的具有更高的优先级。

COM 签名

从 vsshell80.idl:

enum __VSPROFILELOCATIONS
{
    PFL_LocationNone            = 0x00000000,
    PFL_InstallDir              = 0x00000001,
    PFL_SettingsDir             = 0x00000002,
    PFL_Other                   = 0x00000004,
    PFL_AutoSave                = 0x00000008,
    PFL_All                     = 0xFFFFFFFF,
};
typedef DWORD VSPROFILELOCATIONS;

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间