Export (0) Print
Expand All

IVsProjectUpgrade.UpgradeProject Method

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

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int UpgradeProject (
	[InAttribute] uint grfUpgradeFlags
int UpgradeProject (
	/** @attribute InAttribute() */ UInt32 grfUpgradeFlags
function UpgradeProject (
	grfUpgradeFlags : uint
) : int



[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

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

COM Signature

From vsshell.idl:

HRESULT IVsProjectUpgrade::UpgradeProject(
   [in] VSUPGRADEPROJFLAGS grfUpgradeFlags

Community Additions

© 2014 Microsoft