共用方式為


__VSPROFILELOCATIONS Enumeration

Specifies profile file location.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Public Enumeration __VSPROFILELOCATIONS
'用途
Dim instance As __VSPROFILELOCATIONS
public enum __VSPROFILELOCATIONS
public enum class __VSPROFILELOCATIONS
type __VSPROFILELOCATIONS
public enum __VSPROFILELOCATIONS

Members

Member name Description
PFL_LocationNone Used only for initialization.
PFL_InstallDir File resides in the installation directory.
PFL_SettingsDir File resides in the user's default settings directory.
PFL_Other Custom file that the user has browsed to.
PFL_AutoSave Add the current Autosave file.
PFL_All Custom file that the user has browsed to.

Remarks

These values are used to sort the file list in the UI. Lower values have greater priority.

COM Signature

From 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;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace