IVsProjectUpgrade.UpgradeProject Method (UInt32)
Visual Studio 2015
Called by the environment to determine whether the project object needs to upgrade the project to a new version.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- grfUpgradeFlags
-
Type:
System.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.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsProjectUpgrade::UpgradeProject(
[in] VSUPGRADEPROJFLAGS grfUpgradeFlags
);
Show: