共用方式為


IVsProjectUpgradeViaFactory3.CheckProjectUpgraded Method

Definition

Determines whether the specified project was upgraded.

int CheckProjectUpgraded(std::wstring const & pszFileName, [Runtime::InteropServices::Out] bool & pUpgradeComplete, std::Array <std::wstring const &> const & pbstrUpgradedProjectFileName);
public int CheckProjectUpgraded (string pszFileName, out bool pUpgradeComplete, string[] pbstrUpgradedProjectFileName);
abstract member CheckProjectUpgraded : string * bool * string[] -> int
Public Function CheckProjectUpgraded (pszFileName As String, ByRef pUpgradeComplete As Boolean, Optional pbstrUpgradedProjectFileName As String()) As Integer

Parameters

pszFileName
String

The name of the project file after the upgrade.

pUpgradeComplete
Boolean

[out] true if the upgrade occurred and completed successfully, otherwise false.

pbstrUpgradedProjectFileName
String[]

The name of the project file before upgrade.

Returns

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

Applies to