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: System.String[in] Project file of project to update.
pLogger
Type: Microsoft.VisualStudio.Shell.Interop.IVsUpgradeLogger[in] An IVsUpgradeLogger interface to the upgrade logger.
pUpgradeRequired
Type: System.UInt32%[out] The specialized upgrade options specified by the __VSPPROJECTUPGRADEVIAFACTORYREPAIRFLAGS enumeration.
pguidNewProjectFactory
Type: System.Guid%[out] If a different project factory is used to create the upgraded project, the GUID should be returned here.
pUpgradeProjectCapabilityFlags
Type: System.UInt32%[in] Upgrade types specified by the __VSPPROJECTUPGRADEVIAFACTORYFLAGS enumeration. Only one may be specified.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.