共用方式為


__VSPPROJECTUPGRADEVIAFACTORYFLAGS Enumeration

Specifies action to take with OnAfterUpgradeProject calls.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration __VSPPROJECTUPGRADEVIAFACTORYFLAGS
'用途
Dim instance As __VSPPROJECTUPGRADEVIAFACTORYFLAGS
[FlagsAttribute]
public enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS
[FlagsAttribute]
public enum class __VSPPROJECTUPGRADEVIAFACTORYFLAGS
public enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS

Members

Member name Description
PUVFF_SXSBACKUP Side-by-side backup supported.
PUVFF_COPYBACKUP Xcopy style backup supported.
PUVFF_BACKUPSUPPORTED Backup is supported.
PUVFF_USE_ALT_BACKUP_LOCATION By default, copy backup occurs in a subfolder of the solution. There are times where this is unwanted. In those cases UpgradeProject_CheckOnly can return PUVFF_USE_ALT_BACKUP_LOCATION. This defaults to using a subfolder under the user's default project location folder. This alternate location should be avoided if it is possible, as it presents more limitations regarding backup file name length.

Remarks

COM Signature

From vsshell80.idl:

enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS
{
     PUVFF_SXSBACKUP      = 0x00000020
    ,PUVFF_COPYBACKUP     = 0x00000040  
    ,PUVFF_BACKUPSUPPORTED = 0x00000080  
    ,PUVFF_USE_ALT_BACKUP_LOCATION = 0x00000100  
};
typedef DWORD VSPUVF_FLAGS;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace