Partager via


IVsProjectUpgradeViaFactory3.CheckProjectUpgraded Method

Determines whether the specified project was upgraded.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function CheckProjectUpgraded ( _
    pszFileName As String, _
    <OutAttribute> ByRef pUpgradeComplete As Boolean, _
    <OutAttribute> pbstrUpgradedProjectFileName As String() _
) As Integer
int CheckProjectUpgraded(
    string pszFileName,
    out bool pUpgradeComplete,
    string[] pbstrUpgradedProjectFileName
)
int CheckProjectUpgraded(
    [InAttribute] String^ pszFileName, 
    [OutAttribute] bool% pUpgradeComplete, 
    [OutAttribute] array<String^>^ pbstrUpgradedProjectFileName
)
abstract CheckProjectUpgraded : 
        pszFileName:string * 
        pUpgradeComplete:bool byref * 
        pbstrUpgradedProjectFileName:string[] byref -> int
function CheckProjectUpgraded(
    pszFileName : String, 
    pUpgradeComplete : boolean, 
    pbstrUpgradedProjectFileName : String[]
) : int

Parameters

  • pszFileName
    Type: String

    The name of the project file after the upgrade.

  • pUpgradeComplete
    Type: Boolean%

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

  • pbstrUpgradedProjectFileName
    Type: array<String[]

    The name of the project file before upgrade.

Return Value

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

.NET Framework Security

See Also

Reference

IVsProjectUpgradeViaFactory3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace