IVsProjectUpgrade.UpgradeProject(UInt32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by the environment to determine whether the project object needs to upgrade the project to a new version.
public:
int UpgradeProject(System::UInt32 grfUpgradeFlags);
C++/CX
public:
int UpgradeProject(unsigned int grfUpgradeFlags);
int UpgradeProject(unsigned int grfUpgradeFlags);
public int UpgradeProject(uint grfUpgradeFlags);
abstract member UpgradeProject : uint32 -> int
Public Function UpgradeProject (grfUpgradeFlags As UInteger) As Integer
- 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.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
cpp#
HRESULT IVsProjectUpgrade::UpgradeProject(
[in] VSUPGRADEPROJFLAGS grfUpgradeFlags
);
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |