Compartir a través de


IVsProjectUpgradeViaFactory4.UpgradeProject_CheckOnly Method

Checks to see if a project needs to be upgraded.

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

Syntax

'Declaration
Sub UpgradeProject_CheckOnly ( _
    pszFileName As String, _
    pLogger As IVsUpgradeLogger, _
    <OutAttribute> ByRef pUpgradeRequired As UInteger, _
    <OutAttribute> ByRef pguidNewProjectFactory As Guid, _
    <OutAttribute> ByRef pUpgradeProjectCapabilityFlags As UInteger _
)
void UpgradeProject_CheckOnly(
    string pszFileName,
    IVsUpgradeLogger pLogger,
    out uint pUpgradeRequired,
    out Guid pguidNewProjectFactory,
    out uint pUpgradeProjectCapabilityFlags
)
void UpgradeProject_CheckOnly(
    [InAttribute] String^ pszFileName, 
    [InAttribute] IVsUpgradeLogger^ pLogger, 
    [OutAttribute] unsigned int% pUpgradeRequired, 
    [OutAttribute] Guid% pguidNewProjectFactory, 
    [OutAttribute] unsigned int% pUpgradeProjectCapabilityFlags
)
abstract UpgradeProject_CheckOnly : 
        pszFileName:string * 
        pLogger:IVsUpgradeLogger * 
        pUpgradeRequired:uint32 byref * 
        pguidNewProjectFactory:Guid byref * 
        pUpgradeProjectCapabilityFlags:uint32 byref -> unit
function UpgradeProject_CheckOnly(
    pszFileName : String, 
    pLogger : IVsUpgradeLogger, 
    pUpgradeRequired : uint, 
    pguidNewProjectFactory : Guid, 
    pUpgradeProjectCapabilityFlags : uint
)

Parameters

  • pszFileName
    Type: String

    [in] Project file of project to update.

  • pguidNewProjectFactory
    Type: Guid%

    [out] If a different project factory is used to create the upgraded project, the GUID should be returned here.

  • pUpgradeProjectCapabilityFlags
    Type: UInt32%

    [in] Upgrade types specified by the __VSPPROJECTUPGRADEVIAFACTORYFLAGS enumeration. Only one may be specified.

.NET Framework Security

See Also

Reference

IVsProjectUpgradeViaFactory4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace