IVsProjectUpgrade.UpgradeProject(UInt32) Method

Definition

Called by the environment to determine whether the project object needs to upgrade the project to a new version.

C++/CX
public:
 int UpgradeProject(unsigned int grfUpgradeFlags);

Parameters

grfUpgradeFlags
UInt32

[in] Flags used to determine whether the user has or has not been prompted by the environment to upgrade the solution. For more information, see __VSUPGRADEPROJFLAGS.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

cpp#
HRESULT IVsProjectUpgrade::UpgradeProject(  
   [in] VSUPGRADEPROJFLAGS grfUpgradeFlags  
);  

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022